本人刚开始用Android Studio进行android开发,但是刚新建一个android工程,便出现错误,错误提示为:
C:\Users\Administrator\AndroidStudioProjects\CanvasDemo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.0.0\res\values-v23\values-v23.xml
Error:(1) 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'.
解决办法:
找到Gradle Scripts–>build.gradle(Module:app)
确保以下3个地方的版本号一致(注意: 版本的api必须已经下载完成,存在本地)