Error creating project when upgrading Android SDK to 5.0: No resource found that matches the given name ' ANDROID:WIDGET.MATERIAL.A

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.