The judge in the trial of Tulisa Contostavlos told the jury there were "strong grounds" to believe an undercover reporter had "lied" at a hearing before the trial began.
Judge Alistair McCreath was speaking as he threw out the case at Southwark Crown Court.
The Sun's Mazher Mahmood - known as the 'Fake Sheikh' - had posed as a wealthy film producer when he met Contostavlos at a number of hotels and restaurants.
The former N-Dubz singer strongly denied that she had helped broker a drug deal between Mahmood and her rapper friend Michael Coombs, also known as Mike GLC.
More top news
Jeremy Corbyn's economic policies would harm the poor and leave the Tories in power for a decade, Chris Leslie has warned.
Landlords have been warned they could face up to five years in prison if they fail to remove illegal immigrants from properties.
A picture of Cecil the lion - the animal killed by an American dentist in Zimbabwe - has been projected on to the Empire State Building.