Updated

President Trump, at the start of his meeting Saturday in Germany with Chinese President Xi Jinping, called the Asian nation a “great trading partner” and said the increasing North Korea nuclear threat will eventually be resolved “one way or the other.”

The much-anticipated meeting was one of several Trump and top administration officials had Saturday with world leaders at the close of the G20 summit in Hamburg, Germany. But it was considered perhaps the most critical.

China is North Korea’s largest trading partner, which gives the country considerable influence over Pyongyang and its growing threat, which includes developing a nuclear warhead and launching long-range missiles to transport them.

NORTH KOREA FIRES BALLISTIC MISSILE

Trump told Xi that putting an end to North Korea’s nuclear missile testing “may take longer than I'd like, it may take longer that you'd like. But there will be success in the end one way or the other."

“Something has to be done,” the president also said.

Xi also spoke briefly, but his comments in Chinese were not immediately translated and available.

Saturday's meeting also focused on trade between the two nations.

Trump said “many things have happened” that have created trade imbalances between the United States and China but “we’re going to turn that around.”

The president was flanked in the meeting room by about a dozen top administration officials including Secretary of State Rex Tillerson and adviser Jared Kushner.

The meeting followed a long-range missile test launch by North Korea on Tuesday, which a Pentagon spokesman said was a type not previously seen by U.S. analysts.

Following the missile launch, Trump expressed frustration with China over its expanding trade with North Korea. Trump had expressed optimism after his first meeting with China's president that the two would work together to curb North Korea's nuclear pursuits.

The president tweeted Wednesday, "Trade between China and North Korea grew almost 40% in the first quarter. So much for China working with us - but we had to give it a try!"

China has long resisted intensifying economic pressure on neighboring North Korea, in part out of fear of the instability that could mount on its doorstep, including the possibility of millions of North Koreans fleeing into China. China has also been concerned that a reunited, democratic Korea -- dominated by South Korea -- would put a U.S. ally, and possibly U.S. forces, on its border.

Tillerson on Tuesday vowed “stronger measures” to hold North Korea accountable.

“Global action is required to stop a global threat,” he said.

Tillerson also said any country helping North Korea militarily or economically, taking in its guest workers or falling short on Security Council resolutions “is aiding and abetting a dangerous regime.”

However, his statement did not specifically mention China.

Fox News' John Roberts and The Associated Press contributed to this report.