Project没有project.properties文件!在创建任何项目时,编辑项目属性以设置一个并且已经出错

时间:2015-06-13 17:08:47

标签: android android-layout android-activity

在这个网站上有很多关于这个问题的答案,但我认为不是这些问题与我合作

以及这里的错误:

[2015-06-13 19:37:02 - appcompat_v7] Project has no project.properties file! Edit the project properties to set one.
[2015-06-13 19:37:02 - appcompat_v7] Project has no project.properties file! Edit the project properties to set one.
[2015-06-13 19:47:07 - appcompat_v7] Project has no project.properties file! Edit the project properties to set one.
[2015-06-13 19:59:00 - Moving] Eclipse\Moving\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-13 19:59:00 - Moving] Eclipse\Moving\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
Eclipse\Moving\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-06-13 19:59:06 - Moving] Eclipse\Moving\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-13 19:59:06 - Moving] Eclipse\Moving\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-13 19:59:06 - Moving] Eclipse\Moving\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-06-13 19:59:12 - Moving] Eclipse\Moving\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-13 19:59:12 - Moving] Eclipse\Moving\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2015-06-13 19:59:12 - Moving] Eclipse\Moving\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.

1 个答案:

答案 0 :(得分:1)

导入appcompat
1.File->导入(android-sdk \ extras \ android \ support \ v7)。选择" appcompat"

2.Project->属性 - >机器人。在部分库"添加"并选择" appCompat"并选择API 21的构建目标。

在此之后清理你的项目