Android Studio -- Error retrieving parent for item: No resource found that matches the given

错误信息如下:

E:\androidStudio\项目名\app\build\intermediates\res\merged\debug\values-v23\values-v23.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(24) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Android\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

解决方法:
把build.gradle中的compileSdkVersion的值改为23
Android Studio -- Error retrieving parent for item: No resource found that matches the given_第1张图片
注意build.gradle一定要是app下的哦
参考的帖子:http://bbs.csdn.net/topics/391813146

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