[英]installing android ADT with eclipse
我最近下载了android sdk,但是当我尝试在eclipse中创建一个新的android项目时,它总是显示相同的错误
[2016-04-15 01:22:40 - HelloWorld3] C:\Users\Admin\workspace\HelloWorld3\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-04-15 01:22:40 - HelloWorld3]
[2016-04-15 01:22:40 - HelloWorld3] C:\Users\Admin\workspace\HelloWorld3\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-04-15 01:22:40 - HelloWorld3]
[2016-04-15 01:22:40 - HelloWorld3] C:\Users\Admin\workspace\HelloWorld3\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-04-15 01:22:40 - HelloWorld3]
没有创建该项目。 我以前使用过Eclipse Luna,重新安装了Eclipse,现在有了Mars2。我还从SDK Manager中删除了最新的软件包。 这些是我发现的唯一解决方案
我注意到的另一件事是在安装android sdk之后eclipse无法正常工作。 例如,图标不变。 在安装sdk之后的欢迎页面中,它没有给我选择现有SDK的选项。 当我单击File-> New时,没有android应用程序项目,我必须选择项目,然后单击android,然后单击android应用程序项目。 有人可以帮忙吗?
坦白地说,如果您开始使用Android Studio,您会头疼不已,因为它现在是Andoid的官方IDE,并且您几乎可以自动接收所有最新更新。 但是,如果由于某些原因您真的必须使用Eclipse,那就应该怎么做:
该错误表明您缺少“ appCompat”。 我说的与@ΦXoce웃Пepeúpa差不多,但是我真的考虑去Android Studio。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.