China’s exports rise, imports fell amid trade row with US
Official figures showed exports rose 3.3% last month, compared to forecasts for a 2% drop.
Imports fell 5.6% in July, less than the expected 8.3% decline.
Still, analysts tip China's economy will remain under pressure as Washington prepares to hit Beijing with a fresh round of tariffs next month.
"Looking ahead, exports still look set to remain subdued in the coming quarters," a senior Chinese Economist Julian Evans-Pritchard said.
The US has vowed to impose duties on $300bn (£246bn) worth of Chinese products on 1 September, after long-running trade negotiations between the two countries broke down.
Tensions between the world's two largest economies intensified this week after the US officially named China a "currency manipulator" following a sharp drop in the value of the yuan against the US dollar.