SINGAPORE (AP) — Asian markets were mixed Tuesday in narrow trading on doubts that U.S. and China can manage to resolve their festering trade dispute.

KEEPING SCORE: Japan's benchmark Nikkei 225 lost 0.4 percent to 21,127.00 and South Korea's Kospi added less than 0.1 percent to 2,055.07. Hong Kong's Hang Seng edged 0.1 percent higher to 25,768.25. The Shanghai Composite rose 0.3 percent to 2,586.47. Australia's S&P/ASX 200 added 0.2 percent to 5,562.50. Shares rose in Taiwan but fell in Singapore and Indonesia.

WALL STREET: Buying of technology companies spurred gains for U.S. indexes after steep losses in early trading. China has protested the detention of a Chinese technology executive in Canada, which was carried out at the request of the U.S. The S&P 500 index rose 0.2 percent to 2,637.72 and the Dow Jones Industrial Average added 0.1 percent to 24,423.26. The technology-heavy Nasdaq composite rose 0.7 percent to 7,020.52. The Russell 2000 index of smaller-company stocks dropped 0.3 percent to 1,443.09.

HUAWEI HEARING: The bail hearing of Meng Wanzhou, the chief financial officer of Chinese telecommunications giant Huawei, in Vancouver, British Columbia, is to continue after the judge said he would not make a decision Monday. Meng is wanted in the U.S. for allegedly misleading banks about the company's business dealings in Iran. China has protested Meng's arrest and told the U.S. and Canada that it would take further steps based on their response.

SOFTER ASIAN GROWTH: On Monday, revised data showed that the Japanese economy shrank by a worse than expected 2.5 percent in the third quarter, partly because of natural disasters. Over the weekend, China reported that its exports and imports slowed in November, adding to concerns that its economy may slow further, sapping regional and global growth.

ANALYST'S TAKE: "Early movers in the Asia region had commenced with a brisker tone following the U.S. lead, although the awareness that the macro picture remains unchanged seems to have tamed some of the delight," Jingyi Pan of IG said in a market commentary.

IPHONE BAN IN CHINA: On Monday, U.S. chipmaker Qualcomm said that won an order in a Chinese court that bans some Apple phones in China. This is part of a lengthy dispute over two Qualcomm patents, allowing users to format photos and manage phone apps using a touch screen. Although Qualcomm said that the ban applies to models of the iPhone 6S through X, Apple said that all iPhones will remain available for customers in China. Qualcomm shares jumped 2.2 percent to $57.24 on the news.

ENERGY: Oil prices began to recover Tuesday from a sharp decline. They have erased their gains from news of a production cut by OPEC countries and other major oil producers. U.S. benchmark crude added 22 cents to $51.22 a barrel. It gave up 3.1 percent to $51 a barrel in New York on Monday. Brent crude, used to price international oils, rose 30 cents to $60.27. The contract dropped 2.8 percent to $59.97 a barrel in London.

CURRENCIES: The dollar weakened to 113.08 yen from 113.34 yen late Monday. The euro rose to $1.1366 from $1.1355.

Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.