Android:Error retrieving parent for item: No resource found that matches the given name解决方法

本人刚开始用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)
Android:Error retrieving parent for item: No resource found that matches the given name解决方法_第1张图片

确保以下3个地方的版本号一致(注意: 版本的api必须已经下载完成,存在本地)

http://stackoverflow.com/questions/32075498/error-retrieving-parent-for-item-no-resource-found-that-matches-the-given-name

你可能感兴趣的:(android,android,Android开发,Studio)