The Chinese economy grew more than expected in the first three months of the year, new data shows, as China built more factories and exported huge amounts of goods to counter a severe real estate crisis and sluggish spending at home.

To stimulate growth, China, the world’s second-largest economy, turned to a familiar tactic: investing heavily in its manufacturing sector, including a binge of new factories that have helped to propel sales around the world of solar panels, electric cars and other products.

But China’s bet on exports has worried many foreign countries and companies. They fear that a flood of Chinese shipments to distant markets may undermine their manufacturing industries and lead to layoffs.

On Tuesday, China’s National Bureau of Statistics said the economy grew 1.6 percent in the first quarter over the previous three months. When projected out for the entire year, the first-quarter data indicates that China’s economy was growing at an annual rate of about 6.6 percent.

“The national economy made a good start,” said Sheng Laiyun, deputy director of the statistics bureau, while cautioning that “the foundation for stable and sound economic growth is not solid yet.”

Retail sales increased at a modest pace of 4.7 percent compared with the first three months of last year, and were particularly weak in March.