【问题标题】:Eclipse Android app project issueEclipse Android 应用程序项目问题
【发布时间】:2016-05-25 15:13:29
【问题描述】:

我刚刚下载了所有用于制作 Android 应用的东西,我通常使用 Python,所以我第一次使用它。

我打开了 Eclipse -> 文件 -> 新建 -> Android 应用程序项目。给出名称等。在我选择Blank activity 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 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 retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

我在 Google 上搜索过,但我什么都不懂,Eclipse 和工作区在同一个位置。它们都在桌面上名为 ANDROID 的文件夹中。我该如何解决这个问题?

【问题讨论】:

  • @Saud 我已经做到了。我的列表中没有android-sdk\extras\android\support\v7。有一个Android 文件夹,下面只有一个文件:Existing Android Code Into Workspace
  • 如果您真的刚刚开始,请使用 Android Studio。

标签: java android eclipse android-layout windows-7-x64


【解决方案1】:

我已经检查了我自己的 Eclipse SDK,并且我有一个名为 android-sdk\extras\android\support\v7 的文件夹。那么我建议你下载新的 SDK 和 android studio。 Google 已经停止对 eclipse 的支持很久了。

【讨论】:

    猜你喜欢
    • 2013-07-27
    • 1970-01-01
    • 2011-01-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-01-19
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多