Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.Error:Execution failed for task ':app:processDebugResources'.

错误log提示如上所示:

出现原因,由于v7包的23.x版本中缺少部分资源所致。

解决方案:

build.gradle文件中,将

dependencies {    compile fileTree(dir: 'libs', include: ['*.jar'])    compile 'com.android.support:appcompat-v7:23.0.1'}

修改为:

dependencies {    compile fileTree(dir: 'libs', include: ['*.jar'])    compile 'com.android.support:appcompat-v7:22.2.1'}
然后clean和Rebuild一下!


更多相关文章

  1. android edittext 输入长度限制并提示
  2. Android 提示框
  3. android退出activity提示再按一次返回键
  4. Android Studio 错误 Duplicate files copied in APK META-INF/L
  5. android 自动提示 中文
  6. Android Studio多个Module依赖同一个jar的解决方案
  7. Caused by: java.lang.ClassNotFoundException: Didn’t find cl
  8. AndroidStudio安装apk时失败时提示INSTALL_PARSE_FAILED_NO_CERT
  9. Android之adt 23找不到NDK路径设置解决方案

随机推荐

  1. 2021-03-18:给定一个字符串str,只由‘X’和
  2. 混合云场景下金融级中间件自动化运维平台
  3. 终端安全发展
  4. 人生苦短,56岁的地产大佬潘石屹学 Python!
  5. Git 从入坑到成神,你只需要敲一遍命令!
  6. 何所思:为什么说,技术的路上,弯道超车总是一
  7. 企业级数据分析体系的最佳实践
  8. 网易数据库运维自动化演进与 AIOps 探索
  9. 携程万台规模容器云平台运维管理实践
  10. 数据分析的基石-真实世界