java - Android appcompat_v7错误

标签 java android compiler-errors android-appcompat

当我尝试为API级别19开发时出现以下错误,21可以正常工作。

workspace/appcompat_v7/res/values-v21/styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
workspace/appcompat_v7/res/values-v21/styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.

我在appcompat属性中的API级别设置为19。

有什么建议?

编辑:鉴于我已经看到的答案,似乎无法为API级别19开发。这肯定不是这种情况吗?

最佳答案

您可以在以下线程找到答案:

**appcompat-v7:21.0.0': No resource found that matches the given name: **

您将找到针对Android Studio和Eclipse的答案。

关于java - Android appcompat_v7错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28309419/

相关文章:

c++ - 使用 Gradient Fill() 函数时无法编译代码

java - 使用 hibernate 编辑/更新用户角色关系

Java 8 : how to 'JOIN' two Maps having the same Keys?

android - 无法从 Play 商店更新我的应用

android - 应用程序崩溃,出现错误 : The String#value field is not present on Android versions >= 6. 0

C++编译错误

java - 在测试方法中重新加载或刷新 Spring 应用程序上下文?

java - 无法安装 Google App Engine 插件 (Eclipse 3.6)

javascript - 在移动浏览器 JavaScript 上重新加载页面

c++ - 使用 boost.asio 库编译程序