When you upgrade the SDK to 5.0, you create a project with more than one library item, called APPCOMPAT_V7.
after creation, this project may error, such as: No resource found that matches the given name ' Android:Widget.Material.ActionButton ' and other errors.
Here are some solutions:
Solution 1:
Use the SDK Manager to download the following:
Solution 2:
If you do not want to create a appcompat_v7, you can set the minimum Required SDK to more than 4.1 when you create the project and no longer generate
APPCOMPAT_V7 the project, and then you go to the list file to restore Minsdkversion to 8.
References:
1.http://stackoverflow.com/questions/26457096/appcompat-v7-r21-returning-error-in-values-xml
2.http://stackoverflow.com/questions/26530415/ Error-in-styles-base-xml-file-android-app-no-resource-found-that-matches-the
Error creating project when upgrading Android SDK to 5.0: No resource found that matches the given name ' ANDROID:WIDGET.MATERIAL.A