Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

Android Studio 出现这个错误,最后解决方法如下:

1.更新sdk,更新最新的版本

2.在build.gradle 里面 compileSdkVersion写最新的版本

android {    compileSdkVersion 25    buildToolsVersion rootProject.ext.android.buildToolsVersion    lintOptions {        abortOnError false    }
3.重新buid就好了

更多相关文章

  1. 【Android(安卓)Demo】让Android支持自定义的ttf字体
  2. Android(安卓)SDK下载和更新失败的解决方法
  3. Android(安卓)ant 打包 ant -f build.xml release 出错
  4. Android各版本对应的SDK版本
  5. android SDK 更新出现错误的解决办法
  6. Android(安卓)9编译报错sdclang设置
  7. ListView中使用线程实现无限加载
  8. android ios vue 互调
  9. Android保存图片到本地或者数据库,并通知相册更新

随机推荐

  1. Node.js 事件循环完整指南[每日前端夜话0
  2. JavaScript 进阶问题列表[每日前端夜话0x
  3. 【python】虚拟环境搭建
  4. 美国终于挥舞着霸权大棒向程序员动手了
  5. 【python】使用pip提示ModuleNotFoundErr
  6. JavaScript的前景与未来[每日前端夜话0x9
  7. 回到基础:JavaScript API[每日前端夜话0xA
  8. C语言学习心得(六)
  9. 什么是Deno,它与Node.js有什么不同?[每日前
  10. 成为优秀程序员的101条准则[每日前端夜话