【发布时间】:2014-01-30 07:53:49
【问题描述】:
我已经解决这个问题几个小时了。从 github 下载存储库后,任何 .xml 文件中的唯一错误是:
No resource found that matches the given name '@style/Theme.AppCompat.Light'
代码非常简单,但我没有找到一个直接的答案,关于如何缓解错误。
这里是代码(在文件 res/values/styles.xml 中):
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light">
<!-- API 14 theme customizations can go here. -->
</style>
项目位于:https://github.com/erikswed/InstaChatX 我在 Windows 上,使用 Eclipse Kepler
【问题讨论】:
-
你需要从支持库中引用 AppCompat
-
taht 的步骤是什么? AppCompat 在哪里?