Skip to Content

Apple Will Build R&D Center in China as Part of Amped-Up Investment

Apple Pay launched in ChinaApple Pay launched in China
A clerk shows a customer how to use Apple Pay on her iPhone at a bank in Hangzhou city, in east China's Zhejiang province.Shan he — Imaginechina/AP

Apple will boost its investment in China, one of its most important but increasingly difficult markets, and build its first Asia-Pacific research and development center in the country, chief executive Tim Cook said Tuesday.

Demand for Apple’s phones has plummeted in China, and the government maintains a wary attitude toward foreign technology. This is at least the CEO’s second trip to the country in four months.

Apple’s new research and development center will be built by the end of the year, Cook told Vice Premier Zhang Gaoli, one of China’s most senior officials, according to the official Chinese state broadcaster.pp

The pledge comes after the head of China’s industry and technology regulator in May told Cook he hoped Apple (AAPL) could deepen its cooperation with the country in research and development and stressed information security.

Apple did not immediately respond to a request for comment.

Get Data Sheet, Fortune’s technology newsletter.

Sales in China, once touted as Apple’s next growth engine, decreased by a third in its most recent quarterly results, after having more than doubled a year earlier.

Not only is a slowdown of the world’s second-largest economy stoking concerns, but the company’s stores for books and movies also went dark in China earlier this year. Apple has also lost intellectual property battles and faced anti-U.S. sentiment from consumers.

Before Cook’s charm offensive in Beijing in May, Apple announced a $1 billion deal with ride-hailing app Didi Chuxing, a move many experts saw as an attempt to curry favor with Beijing.

Other tech firms have in the past pledged investment in China while facing difficulties in the country, including Microsoft and Qualcomm, but often with mixed results.