android application project 无法创建项目



 问题:

刚才更新SDK, ADT,可是新建项目的时候却出现问题了,操作一路默认,出现了下面的提示:
This  template 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了(或者是没有)。

建议是用SDK Manager将extras支持类库删除,再次下载,这下<sdk>/extras/android/support就出现了,然后重启,再New Android Application Project,搞定。

猜你喜欢

转载自luke-feng.iteye.com/blog/1863349