Donald Trump has cancelled a planned visit to the UK in February, where he had been expected to open a new $1bn (£738m) US embassy in London.
The US president tweeted he was not a “big fan” of the new embassy – which is moving from Mayfair to south London.
He blamed Barack Obama’s administration for a “bad deal” despite the fact the move was agreed under George W Bush.
The trip was not the controversial full state visit offered by Theresa May, for which no date has yet been set.
Downing Street said no date has been confirmed for any visit by Mr Trump and that the opening of the US embassy “is a matter for the US”.
The “strong and deep” partnership between Britain and the US “will endure” despite Mr Trump’s cancellation, a spokesman added.
However, Mayor of London Sadiq Khan – who has clashed with the president in the past – said the US president had “got the message” that many Londoners were staunchly opposed to his policies and actions.
BBC North America editor Jon Sopel said he suspected the possibility of protests in London would have also weighed in the calculation.
Reason I canceled my trip to London is that I am not a big fan of the Obama Administration having sold perhaps the best located and finest embassy in London for “peanuts,” only to build a new one in an off location for 1.2 billion dollars. Bad deal. Wanted me to cut ribbon-NO!
— Donald J. Trump (@realDonaldTrump)
The US embassy move was confirmed in October 2008, when President George W Bush was still in the White House.
It was moved from its Mayfair site because it was too small to put in the modern security it needed, the BBC’s diplomatic correspondent James Landale said.
However, Mr Trump blamed former president Mr Obama’s administration for selling “perhaps the best located and finest embassy in London for peanuts”.
Mr Trump also criticised the location of the new building in Vauxhall, south London, as an “off location”, adding: “Wanted me to cut ribbon-NO!”
The BBC’s North America editor said February’s planned visit could have included meetings with Mrs May at Chequers or Downing Street and lunch with the Queen.
However, no firm date for the visit had ever been agreed, nor had the White House “nailed down the details of the trip”, James Lansdale added.
Is the UK a priority for Trump?
By BBC diplomatic correspondent James Landale
Donald Trump says that he is not coming to open the new US embassy in London because he is not a fan of the building.
Some diplomats suggest the president was unimpressed by the low key nature of the proposed trip, shorn of the pomp and bling he expected.
Others say the White House was worried about the scale of the public protests that were threatened.
But amid all this is the nagging fear that the real reason is that Mr Trump just does not see the UK as a priority.
In his first year of office, he has visited most other G7 countries and several European nations, including Belgium, so the absence of Britain from his itinerary stands out.
Of course, trips – like tweets – can be easily remedied, and a visit by Mr Trump later this year could in theory dispel the fears.
But with the UK at odds with the US on an increasing numbers of issues, from Iran to Jerusalem, the lack of a visit carries greater symbolic weight.
The ribbon-cutting ceremony may instead be hosted by US Secretary of State Rex Tillerson.
Mr Trump accepted the Queen’s invitation for an official state visit when the prime minister met him last year.
A petition calling for the invitation to be withdrawn was signed by more than 1.8m people, while the issue was also debated in parliament.
Reports in June suggested amid concerns about large-scale protests.
However, the BBC understands Downing Street is considering options for the visit later in the year.
A former British ambassador to the United States, Christopher Meyer, told BBC Radio 4’s World at One he would be “surprised” if the US president visited the UK in his first term.
Mr Meyer said: “It would be so difficult to manage from a security point of view [and] from a public point of view if he remained as unpopular among the British people at large as he is now.”
Speaking last month, US ambassador to the UK Woody Johnson told the BBC he “absolutely” .
During the Queen’s Speech at the State Opening of Parliament last summer, there was no mention of a visit – although a Downing Street spokesman said an invitation had been “extended and accepted”.
Mrs May was the when she visited the Oval Office in January 2017.
Typically during state visits, the government, the visiting government and the royal household agree on a detailed schedule where the Queen acts as the official host.
The cancellation comes after recent disagreements between the US and UK.
Mr Trump clashed with Mayor of London Sadiq Khan in the aftermath of the London Bridge attack last year, when he questioned Mr Khan’s statement that there was “no reason to be alarmed”.
Mr Khan, who also questioned Mr Trump’s proposed US travel ban, said the US president’s visit would “without doubt have been met by mass peaceful protests”.
Many Londoners have made it clear that Donald Trump is not welcome here while he is pursuing such a divisive agenda. It seems he’s finally got that message.
— Sadiq Khan (@SadiqKhan)
However, Foreign Secretary Boris Johnson accused Mr Khan and Labour leader Jeremy Corbyn of putting the UK’s “crucial relationship” with the US at risk by opposing the visit.
The US is the biggest single investor in the UK – yet Khan & Corbyn seem determined to put this crucial relationship at risk. We will not allow US-UK relations to be endangered by some puffed up pompous popinjay in City Hall.
— Boris Johnson (@BorisJohnson)
A No 10 spokesman said the tweet was “political” rather than representing the views of government.
Relations between London and Washington were also put under the spotlight last year after Mr Trump moved to recognise Jerusalem as Israel’s capital.
Mrs May said she , which she deemed “unhelpful in terms of prospects for peace in the region”.
And in November, for the US president to share videos posted by the far-right group Britain First.
Mrs May more recently discussed Brexit and events in the Middle East in a with Mr Trump.