当我使用新的android项目appcompt时显示错误

罗希特·班迪尔

在此错误之前,我的所有应用程序都运行良好,但是当我突然接受新项目时,它在我的appcompat中显示了错误,并且在我的项目中在android依赖项中的构建路径中显示了错误。请给我一些解决方案我该怎么办。并且也让我更加清楚了android依赖项和appcompat库文件。它显示此错误:-

appcompat_v7/res/values-v21/themes_base.xml:194: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
appcompat_v7/res/values-v21/themes_base.xml:195: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
appcompat_v7/res/values-v21/themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
appcompat_v7/res/values-v21/themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
appcompat_v7/res/values-v21/themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.

谢谢

罗希特·班迪尔

终于我的错误解决了,但这不是我想要的确切解决方案。我所做的工作是我创建了一个新项目并采用了最小sdk版本,而15和进一步的api中都包含了15个bcoz动作栏功能。我认为该功能是在11 api中引入的。现在需要appcompat库不会出现任何错误...但是我通过替代解决方案解决了这个问题,但我也想回答我的问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

每次当我开始新的 Android Studio 项目时都会出现这个错误

当我使用androidstudio创建新的NDK项目时出现Cmake错误

当我尝试使用Treeview执行项目时显示语法错误

Makefile 错误当我想为 android 构建项目时

当我用新项目更新Android RecyclerView时,旧视图会短暂显示,然后新视图会覆盖它们

当我尝试在Button上使用setText()时,为什么Android Studio显示错误?

当我在scala中使用flatMap时显示此错误

当我点击它时显示项目

当我在我的React项目中安装react-circular-progressbar时,显示错误原因?

当我尝试在我的Maven项目中使用@ResController时,它显示错误“ RestController无法解析为类型”。帮助我解决此问题

当我尝试使用npm我安装我的项目包时出现错误

当我尝试将项目添加到列表时,Flutter 编辑器显示错误

当我在android studio中运行android项目时,BlackBerry Simulator不显示吗?

当我使用libwebp和ndk在android 2.x上显示webp图像时出现内存不足错误

当我创建一个新的android项目时出现Erros

当我每次上下滚动时,Android RecyclerView 显示的项目都会改变

在python中,当我使用或运算符时不显示错误也不显示预期结果

当我在项目中使用volatile时,为什么下面的代码显示不同的结果?

当我使用std :: wstring时,为什么Visual Studio 2017向我显示错误?

当我使用我之前声明的全局变量时,eslint 显示错误

当我尝试使用锚标记从我的jsp页面调用servlet页面时,显示错误

当我启动使用Spring的DWR3.0 RC2的项目时发生错误

当我在 Github 上使用 you-get 项目时发生错误

程序类型已存在:android.media.VisibleImage 错误,当我在 Android 原生项目 (With ARCore) 中使用 Unity 库 (With ARCore) 时

Android-当我单击列表视图项时,在吐司中显示错误的数据

当我向下滚动时,RecyclerView检查错误的项目

当我尝试创建反应项目时出现错误

当我在flutter项目上进行整洁时出现错误

当我运行Eclipse项目时出现错误