Ecuador's decision to grant Assange political asylum in its embassy in London almost five years ago, shielding him from extradition, Ny said, had also made it impossible for her to formally notify the Australian of the charges against him.
Mr Assange said he had spent seven years either under house arrest or living inside the embassy, without charge, as he faced sex-related allegations in Sweden, which he has always denied.
He is wanted by British police for breaching bail conditions - and WikiLeaks is concerned this could result in him being extradited to the U.S., where he would face prosecution for publishing swathes of classified military and diplomatic documents.
Marianne Ny, Sweden's director of public prosecution, said in a statement that the rape investigation was dropped because "there is no reason to believe that the decision to surrender him to Sweden can be executed in the foreseeable future".
August 13: Swedish prosecutors drop investigations into some allegations against Assange because of the statute of limitations; investigation into a rape allegation remains active.
Ecuador urged Britain Friday to "grant safe passage" out of the country to WikiLeaks founder Julian Assange after Sweden dropped a warrant that drove him to take refuge in Ecuador's London embassy. Nevertheless, he assured that he does not forgive or forget.
France's Hollande greets Macron in first meeting since victory
Le Pen credited herself with upsetting the French political landscape, creating a divide "between patriots and globalists". Without that, Le Pen could be hard-pressed to be more than a disruptive force instead of changing the nation's course.
Assange added that WikiLeaks would continue regardless of "the threats towards me and my staff" before hailing the release of Chelsea Manning, the former Army intelligence analyst who provided classified information to WikiLeaks in 2010.
Barry Pollack, an attorney in Washington representing Assange, said the British should allow Assange to travel to Ecuador.
Assange's Twitter feed had a picture of him smiling and looking relaxed posted on Friday morning.
"It is a scandal that a suspected rapist can avoid the judicial system and thus avoid a trial in court... a decision to drop the case won't make her change [her assertion] that Assange exposed her to rape."
The preliminary investigation against Julian Assange for rape (lesser degree) is to be discontinued.
A Member Of Congress Is Officially Calling For Trump's Impeachment, Here's Why
As the controversy swirled in Washington , Trump had defiant words during a speech to U.S. Whether you think prices are going up or down, Tradefair lets you take a view.
On December 7, Assange was arrested by London police after turning himself in.
"This is a matter that's gone beyond anything I'm aware of", Sessions said at the time.
Mr Assange's Swedish lawyer, Per Samuelson, said the prosecutor's decision on Friday represented "a total victory" for his client.
The British government declined to comment on speculation that the United States may already have requested Assange's extradition. "Focus now moves to United Kingdom", the group tweeted.
But it added that Assange is now wanted for a "much less serious offense" than the original sex crimes claims, and police "will provide a level of resourcing which is proportionate to that offense". He nonetheless faces arrest if he leaves the embassy grounds.
WikiLeaks played a central role in the 2016 presidential race when it published e-mails stolen through hacking the Democratic National Committee and later from Mr John Podesta, chairman of Mrs Hillary Clinton's campaign. She was freed Wednesday, having had her sentence commuted by outgoing President Barack Obama before he left office.
Special prosecutor abruptly named to probe Trump-Russia ties
Russian Federation has repeatedly denied USA claims that it meddled in the United States election process, calling them absurd. Comey about why, if this happened as he allegedly describes, why didn't he take action at the time? ".