error: Error retrieving parent for item: No resource found that matches the given name 'android
16lz
2021-01-23
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系统版本无序发展反噬产业链
- android中SimpleCursorAdapter _id错误的问题
- Android各版本对应的SDK版本
- android SDK 更新出现错误的解决办法
- Android Studio 打包错误org.gradle.api.InvalidUserDataExcepti
- 编译代码报出Android library projects cannot be launched错误
- 获取Android版本信息和电话信息
- 超过 50% 的 Android 设备依然运行 2.2 版本
- Android版本与Linux内核的关系