Android Support package not present in SDK Manager

一世执手 提交于 2019-12-18 09:01:06

问题


There is no android support package in my SDK manager, as shown:

And whenever I try to create an android application project I am presented with this screen at the end:

If I click install/upgrade this appears:

And it installs and everything, but nothing happens and it stays on the same screen as before. Clicking check again doesn't do anything either.

How can I get this to work?


回答1:


For some weird reason android-sdk decided to install everything in /extras/compatibility instead of /extras/support which eclipse recognises, so I renamed /extras/compatibility to /extras/support and now everything works fine.




回答2:


Find your SDK directory, navigate to /extras/android/, in this folder you will see a folder named "compatibility", rename this folder to "support". Re-open Eclipse, create new Android Application Project, the process will complete without this problem occurring again!



来源:https://stackoverflow.com/questions/11244091/android-support-package-not-present-in-sdk-manager

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