Chinese leader Xi Jinping speaks during a meeting with Ghana's President John Mahama at the Great Hall of the People in Beijing, China, on October 14.

President Donald Trump said Monday he enjoys a “very good relationship” with China’s Xi Jinping ahead of their highly anticipated meeting at the end of October.

“I’m meeting with President Xi; we have a very good relationship,” Trump said alongside his Australian counterpart, Anthony Albanese, at the White House.

He acknowledged some tension, saying Beijing tries to “take advantage” of the US, but said he was hopeful for a trade deal.

“I expect we’ll probably work out a very fair deal with President Xi of China,” he said, adding: “It’s going to be very exciting, and I think we’re going to work out something that’s good.”

Trump said he believed the AUKUS pact, which aims to provide Australia with nuclear-powered attack submarines to counter China’s ambitions in the Indo-Pacific, could act as a deterrent to Beijing. However, he said he didn’t believe military force would be necessary.

“I think we’ll be just fine with China,” he said. “China doesn’t want to do that.”

“I think we’re going to get along very well as it pertains to Taiwan and others,” he went on. “Now that doesn’t mean it’s not the apple of his eye, because probably it is, but I don’t see anything happening.”

China views Taiwan as its own territory and has vowed to “reunify” with the democratic and separately governed island, by force if necessary. Taiwan strongly objects to China’s sovereignty claims.

The president also said that he’s been invited to visit China. “I’ll be doing that sometime, fairly early next year. We have it sort of set, but I think we’re going to have a very good relationship with China,” Trump said.

This post has been updated with additional remarks from Trump.