我已经解决了这个问题几个小时了.从github下载存储库后,任何.xml文件中唯一的错误是:
No resource found that matches the given name '@style/Theme.AppCompat.Light'
Run Code Online (Sandbox Code Playgroud)
代码非常简单,但我没有找到一个直截了当的答案,关于如何缓解错误.
这是代码(在文件res/values/styles.xml中):
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light">
<!-- API 14 theme customizations can go here. -->
</style>
Run Code Online (Sandbox Code Playgroud)
该项目位于:https://github.com/erikswed/InstaChatX 我在Windows上,使用Eclipse Kepler
尝试使用最新的Google Play Services SDK时出现此错误:
C:\Program Files (x86)\Android\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'.
Run Code Online (Sandbox Code Playgroud)
我正在瞄准,android-19但也试过android-21同样的结果.我有Android支持库

如果我使用旧版Google Play服务(第21版),则不会出现错误.此外values-v21,早期版本中没有文件夹.如何解决这个错误?
编辑:我已尝试使用API 21,但此错误仍然存在.在manifest.xml:
<uses-sdk android:minSdkVersion="21"
android:targetSdkVersion="21" />
Run Code Online (Sandbox Code Playgroud)
在project.properties:
target=android-21
Run Code Online (Sandbox Code Playgroud)