问题
I am new to android and I am setting up eclipse with ADT plugin for android application development. Yesterday (10/18/2011) I downloaded and installed Android SDK Tools(revision 13), Android SDK platform tools(revision 7) and several SDK platforms (2.3.3, 3.0 etc) using the 'Android SDK and AVD manager' without any issues.
But today(10/19/2011) when I go the 'available packages' in the 'Android SDK and AVD manager' I can only see Android SDK Tools(revision 14) and Android SDK platform tools(revision 8) both which were not there yesterday. Worst part is I cannot see any other platforms, documentation, samples etc which I could see under available packages yesterday.
Does anyone knows how I can get the other platforms, documentation, samples..?
回答1:
After many hours of researching I found the cause for this. With the release of Android 4.0, Google has also released a new version of the ADT plugin (i.e. V14.0.0). This version of the ADT plugin has several major changes (at least from UI level) which includes the separation of 'SDK Manager' and 'AVD Manager' as two separate components.
And it seems that Google has also changed the SDK package download process which was previously based on the infamous 'repository.xml' file. This maybe to stop downloading the SDK packages directly from the repository as suggested in several online blogs. And this was the same issue why my older version of the ADT plugin couldn't show the additional packages to be downloaded. In more simple words, Google has removed all the links to these additional packages from the 'repository.xml' file.
With the updated ADT plugin now I can see the other additional packages
回答2:
You can find the stuff you already installed under "Installed Packages". "Available Packages" is only for new stuff.
回答3:
I had the same issue. Also, I cannot install any other plugin (pydev etc) on eclipse juno 4.2
After making so much of search, I understood that we need to have WST server adapters installed as well.
http://time-loop.tumblr.com/post/360049815/installing-android-eclipse-plugin , this link helped me. After installing WST , ADT plugin installation starts working as magic.
来源:https://stackoverflow.com/questions/7816795/issue-with-adt-plugin-in-eclipse