Android ADT_20新建项目Android Support library not installed问题
16lz
2021-01-23
刚才更新SDK, ADT,可是新建项目的时候却出现问题了,操作一路默认,出现了下面的提示:
Thistemplate depends on the Android Support library, which is either not installed, or the
template depends on a more recent version than the one you hava installed.
http://developer.android.com/tools/extras/support-library.html
Required version: 8
Installed version: Not installed
You can install or upgrade it by clicking the Install button below, or alternatively, you can
install it outside of Eclipse with the SDK Manager, the click on "Check Again" to proceed.
两个按钮:Install/Upgrade Check Again
按照提示安装升级了一下,再次Check Again, 还是这个错误提示,所以看看SDK的支持类下载没有,结果发现<sdk>/ extras/android/文件夹之下,原来的support变成compatibility了,于是新建了一个support文件夹,将下载过来的compatibility里面的东东全部copy到support中,重启。就没有那个BUG了。
刚又去android官网瞄了一眼,建议是用SDK Manager将extras支持类库删除,再次下载,这下<sdk>/extras/android/support就出现了,New Android Application Project,一切比想象的还顺利。 |
更多相关文章
- Android中设计具有背景图的按钮—ImageButton的焦点及事件处理
- Android 中的 BACK 和 HOME 按钮的区别
- 毕设---android按钮事件
- android 在SD卡创建文件夹
- android gridview按钮边框和定制点击颜色
- android 按钮Button单击背景切换
- Android 动态切换底部tab按钮
- Android 的 Button 按钮实现的两种方式
- ImageButton动态改变按钮图片