Android SDK Manager not working

旧城冷巷雨未停 提交于 2019-12-24 01:48:18

问题


On starting Eclipse I am getting a message

This version of ADT requires Android SDK Tools revision 21.0.0 rc9 or above.
Current version is 10.0.0.
Please update your SDK tools to latest SDk version.

So on clicking Open SDK Manager button nothing happens & in console I get this message.

[2012-12-27 16:15:06 - SDK Manager] [SDK Manager] Error: Expected verb after global parameters but found 'sdk' instead.

Why?

My SDK manager window doesn't open so I can not update SDK Tools. I am working on Ubuntu 10.10 with Eclipse Helios.


回答1:


Try to locate where is your Android SDK Manager (the path where you installed first your SDK). Suppose that it is /opt/android-sdk-linux and substitute where needed:

From a terminal, try to execute

sudo /opt/android-sdk-linux/tools/android

With that you will get a Android SDK Manager windows where you can upgrade your SDK elements (including the SDK Manager and tools). Probably the integration of Android SDK Manager with Eclipse has changed from version 10 to 21, making Eclipse unable to start it.

P.S. Using sudo could be unnecessary, depending on the path and the privileges that your user have on it.




回答2:


If you are using the adt-bundle from android then delete and unzip the bundle again and try opening the eclipse. I faced a similar problem . I got rid of this error by doing the above step . Hope it helps you :):) .. And remember JAVA 7 is incompatible(not tested and recommend) with android eclipse .. so use JAVA 6 .

-Preeya




回答3:


Latest ADT and sdk tools installed but still asking for latest sdk tools

"Actually, the solution involves no delete or download of the whole installer. After you update the Eclipse ADT, you just have to update the SDK tools in the SDK manager too. The trick is open SDK manager -> Packages menu -> Reload. Then the latest revision will be available to update. It's just that simple, but actually annoying at first."

It worked for me




回答4:


Check path in Window -- Preferences -- Android. Must be right



来源:https://stackoverflow.com/questions/14053450/android-sdk-manager-not-working

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