ADT needs to update but find no update

感情迁移 提交于 2019-12-03 05:26:25

问题


Today I installed API8 from the SDK manager, previously I only had been working with API14. After the SDK manager was done, and upon restarting ADT I got this error:

This android SDK requires Android Developer Toolkit version 21.1.0 and above. Current version is 21.0.1.2012-12-6-2-58.

So I click to find updates but I get "no updates found".

I did the following:

  • Used the SDK manager to re-install android SDK tools (rev 21.1).

  • Used the SDK manager to re-install API8 and API14.

Still no go :(


回答1:


I had the same issue. Please try the following in eclipse

Help --> Install new software

Then choose "Android Developer Tools Update Site - http://dl-ssl.google.com/android/eclipse/" from the drop down list and update the ADT

IF THIS THROWS ERROR Like this

No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,21.1.0.v201302060044-569685

Modify http: to https:

Sample : https://dl-ssl.google.com/android/eclipse/

And then update ADT. This method worked for me.




回答2:


You get that issue when your eclipse ADT plugin version doesn't match your SDK tools version.

Have you tried updating the ADT plugin in eclipse?

Help -> Install New Software and then using the ADT update site should work.

If you get a No Respository Found error using this site, you should use the HTTPS version instead.

If you're still having trouble getting it to install, you can download the zip standalone and manually install it. You can find the latest zip and installation instructions at the ADT troubleshooting page.




回答3:


If problem in "http".

  • 1) Help --> "Install new software" --> "Available Software Sites"
  • 2) Click on "Android Developer Tools Update Site"
  • 3) Click "Edit"
  • 4) Mofify "http" to "https"
  • 5) Click "Ok" --> "Ok"
  • 6) Try update again.



回答4:


I tried all methods mentioned here, but still without success. What finally helped was the tip from No repository found error in Installing ADT in eclipse Indigo:

Uncheck “Contact all update sites during install to find required software”




回答5:


you Should Update your ADT to Latest Version by below way.

Eclipse--> Go to Help--> Install New Software --> Add--> Inside Add Repository Write Name="ADT"(as you want) and Location="https://dl-ssl.google.com/android/eclipse/" --> after loading some times you will get Developer Tools & NDK Plugins--> checked both if you want to install Use NDK as future Use or checked only developer Tool--> click Next--> Finish.

After this you can Update your SDK to latest Version.

Hope it will Help.




回答6:


Got this one too, going from ADT 22.3 to 23.

Not sure what's keeping Eclipse from finding the updates (maybe some IDs changed or something), but the solution is to install the ADT plugins over the existing ones using Help -> Install New Software, just select the same site, no need to correct the URL from https to http or vice versa. The wizard will tell you there are a bunch of conflicts that'll result in removing the old versions of the plugins -- that's ok, go for it.

UPD Seemingly, (as at least one person downvoted the answer), installing new version over old one forcefully doesn't work for everyone. Here's the related bug where it's said that the old installation of Exclipse/ADT is hopelessly unupdatable and one should just download the new bundle to resolve this.

PS Anyway, you should be using Android Studio by now. Compared to Eclipse, it's a memory hog and has a very different feel to it and different hotkeys, but (as much as I hate to say it having been a snuggled up Eclipse user for a long time) it's way better, at least for Android development.




回答7:


Same issue here, but luckily it is resolved now. The help->install new software and the android tool manager didn't help.

I re-downloaded the ADT bundle and simply copied over the failing installation, it works now.




回答8:


I had the very same problem last weekend. Go to Help->Install new Software. Here use Android Developer Tools Update Site url - http://dl-ssl.google.com/android/eclipse/, two options should appear and I can't remember which one to choose ;) (It should be the one with DEV)

I don't think it is necessary but before I removed and downloaded the whole Eclipse with ADT. But it should not be necessary.



来源:https://stackoverflow.com/questions/15003695/adt-needs-to-update-but-find-no-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!