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就好了