【问题标题】:resource entry app_name is already defined资源条目 app_name 已定义
【发布时间】:2015-08-17 06:16:07
【问题描述】:

错误显示如下

D:\workspace\LoginWithSocial\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. [2015-08-17 11:26:16 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. [2015-08-17 11:26:16 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values\styles.xml:21: error: Resource entry app_name is already defined. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values\strings.xml:4: Originally defined here. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values\styles.xml:30: error: Apostrophe not preceded by \ (in Successfully Posted \ '%1$s\'.\nPost ID:  [2015-08-17 11:27:54 - LoginWithSocial]         %2$s) [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. [2015-08-17 11:27:54 - LoginWithSocial]
D:\workspace\LoginWithSocial\res\values\styles.xml:21: error: Resource entry app_name is already defined.

【问题讨论】:

标签: facebook android android-studio android-developer-api


【解决方案1】:

更改您的应用程序 SDK 版本(minimusdk 14 和 targetsdk 版本 22)

【讨论】:

  • 你能解释一下吗?
猜你喜欢
  • 2014-08-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-04-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多