简体   繁体   English

Eclipse Android应用程序项目问题

[英]Eclipse Android app project issue

I just downloaded all of the things for making an Android app, I usually use Python so first time I work with this. 我刚刚下载了制作Android应用程序的所有内容,我通常使用Python,因此第一次使用它。

I opened Eclipse -> File -> New -> Android Application Project. 我打开了Eclipse->文件->新建-> Android应用程序项目。 Gave name etc. After I choose Blank activity the name of Activity Name: MainActivity and Layout name: activity_main I press finish and this window is not closing, I just see error logs on Eclipse: 给定名称等。选择“ Blank activity ,“活动名称”的名称为: MainActivity和布局名称:“ activity_main我按“完成”并且此窗口没有关闭,我只看到Eclipse上的错误日志:

C:\\Users\\windows\\Desktop\\ANDROID\\eclipse-java-mars-2-win32-x86_64\\test_prg\\res\\values-v11\\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. C:\\ Users \\ windows \\ Desktop \\ ANDROID \\ eclipse-java-mars-2-win32-x86_64 \\ test_prg \\ res \\ values-v11 \\ styles.xml:7:错误: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.出错:未Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.

C:\\Users\\windows\\Desktop\\ANDROID\\eclipse-java-mars-2-win32-x86_64\\Flafel\\res\\values-v11\\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. C:\\ Users \\ windows \\ Desktop \\ ANDROID \\ eclipse-java-mars-2-win32-x86_64 \\ Flafel \\ res \\ values-v11 \\ styles.xml:7:错误: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.出错:未Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

I searched for it on Google but I don't understand anything, Eclipse and workspace is in the same location. 我在Google上搜索了它,但我什么都不知道,Eclipse和工作区在同一位置。 Both of them in the folder named ANDROID on Desktop. 它们都在Desktop上名为ANDROID的文件夹中。 How can I fix this problem? 我该如何解决这个问题?

I have checked my own SDK for eclipse and I have a folder named android-sdk\\extras\\android\\support\\v7 . 我已经检查了自己的Eclipse SDK,并且有一个名为android-sdk \\ extras \\ android \\ support \\ v7的文件夹。 then I would suggest you download new SDK and android studio. 那么我建议您下载新的SDK和android studio。 Google has stopped giving support for eclipse for a long time. Google长期以来一直停止提供对Eclipse的支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM