error: Error retrieving parent for item: No resource found that matches the given name 'android
16lz
2021-12-04
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就好了
更多相关文章
- 【Android(安卓)Demo】让Android支持自定义的ttf字体
- Android(安卓)SDK下载和更新失败的解决方法
- Android(安卓)ant 打包 ant -f build.xml release 出错
- Android各版本对应的SDK版本
- android SDK 更新出现错误的解决办法
- Android(安卓)9编译报错sdclang设置
- ListView中使用线程实现无限加载
- android ios vue 互调
- Android保存图片到本地或者数据库,并通知相册更新