在Eclipse上获取android应用程序错误 在eclipse中自动创建的项目“appcompat_v7”可能会导致此错误
我通常通过以下两个步骤来解决此类错误:在Eclipse上获取android应用程序错误 在eclipse中自动创建的项目“appcompat_v7”可能会导致此错误,android,eclipse,Android,Eclipse,我通常通过以下两个步骤来解决此类错误: 1.删除“appcompat_v7”项目 2.由于删除“appcompat v7”项目,需要对所有style.xml文件、main.xml和main\u activity.java进行必要的更改 必要的改变: 在main\u Activity.java中扩展活动&删除默认扩展的活动。除去OnCreate方法之外,删除主_活动类中的所有其他代码 在所有样式中,样式标记内的style.xml更改父项的值。 您将找到“parent=Theme.AppCompat
1.删除“appcompat_v7”项目
2.由于删除“appcompat v7”项目,需要对所有style.xml文件、main.xml和main\u activity.java进行必要的更改 必要的改变:
您将找到“parent=Theme.AppCompat.Light”或“parent=anyother thing”
让它成为
“parent=@android:style/Theme.Black.NoTitleBar.Fullscreen”
甚至你也可以使用任何其他值作为父对象。我只是给出了一个随机主题
最后在运行之前清理项目。
请同时发布清单文件。是否将appcompat包括到项目中?是的,我导入appcompatlibrary@Vishnu这是清单文件
[2016-02-23 14:52:23 - Driver] E:\android_workspace\Driver\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-02-23 14:52:23 - Driver]
[2016-02-23 14:52:23 - Driver] E:\android_workspace\Driver\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-02-23 14:52:23 - Driver]
[2016-02-23 14:52:23 - Driver] E:\android_workspace\Driver\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-02-23 14:52:23 - Driver]
[2016-02-23 14:52:24 - Driver] E:\android_workspace\Driver\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-02-23 14:52:24 - Driver]
[2016-02-23 14:52:24 - Driver] E:\android_workspace\Driver\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-02-23 14:52:24 - Driver]
[2016-02-23 14:52:24 - Driver] E:\android_workspace\Driver\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-02-23 14:52:24 - Driver]
[2016-02-23 14:52:25 - android-support-v7-appcompat] C:\Android\sdk\extras\android\support\v7\appcompat\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2016-02-23 14:52:25 - android-support-v7-appcompat]
[2016-02-23 14:52:25 - android-support-v7-appcompat] C:\Android\sdk\extras\android\support\v7\appcompat\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
[2016-02-23 14:52:25 - android-support-v7-appcompat]
[2016-02-23 14:52:26 - google-play-services_lib] C:\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v11\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.DialogWhenLarge.NoActionBar'.
[2016-02-23 14:52:26 - google-play-services_lib]
[2016-02-23 14:52:26 - google-play-services_lib] C:\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
[2016-02-23 14:52:26 - google-play-services_lib]
[2016-02-23 14:52:41 - android-support-v7-appcompat] C:\Android\sdk\extras\android\support\v7\appcompat\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2016-02-23 14:52:41 - android-support-v7-appcompat]
[2016-02-23 14:52:41 - android-support-v7-appcompat] C:\Android\sdk\extras\android\support\v7\appcompat\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
[2016-02-23 14:52:41 - android-support-v7-appcompat]
[2016-02-23 14:52:42 - google-play-services_lib] C:\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v11\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Holo.Light.DialogWhenLarge.NoActionBar'.
[2016-02-23 14:52:42 - google-play-services_lib]
[2016-02-23 14:52:42 - google-play-services_lib] C:\Android\sdk\extras\google\google_play_services\libproject\google-play-services_lib\res\values-v21\appinvite_styles.xml:5: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.Light.DialogWhenLarge.NoActionBar'.
[2016-02-23 14:52:42 - google-play-services_lib]