Troubleshoot Android No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse problem
2015-09-08 13:10 1871 People read review (4) Favorite Report
Classification:
Android(+)
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
If you have just enough time to build an Android studio project, run the discovery, there are no resources found errors! I can't find the com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xml.
[HTML] view Plaincopy
- /Path/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xml
- Error:error Retrieving parent for item:no Resource found that matches the given name ' Android:TextAppearance.Material.Wid Get. Button.inverse '.
- Error:error Retrieving parent for item:no Resource found that matches the given name ' Android:Widget.Material.Button.Colo Red '.
This is the resource file in API (Android 6.0), while viewing Build.gradle, the compiled SDK is only 21, we can try to set Compilesdkversion to(if the SDK does not download API 23, You need to download), Problem solving!
If you do not want to download API 23 How to solve it? Reduce the version of AppCompat: Build.gradle the dependencies corresponding AppCompat version:
Change the version of Compile ' com.android.support:appcompat-v7:23.0.1 ' to: ' com.android.support:appcompat-v7:22.2.1 '
Troubleshoot Android No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse problem