Error creating Android Project--no Resource found that matches the given name ' Theme.AppCompat.Light '

Source: Internet
Author: User

Error creating Android project, Error:error retrieving parent for item:no Resource found that matches the given name ' Theme.AppCompat.Lig HT '.

Problem Description:

When creating an Android app project, you need to specify its applicable SDK version, which defaults to the following:

The minimum applicable version is: API 8:android 2.2 (Froyo)

Target version: API 21:android 4.X (L Preview)

The compiled version is: API 23:android 6.0

After next,finish, prompt error:

[2016-05-10 22:42:36-hello] D:\chronusworkspace\hello\res\values-v11\styles.xml:7: Error:error Retrieving parent for item:no Resource found that Ma Tches the given name ' Theme.AppCompat.Light '.

Issue reason: The low version application is incompatible with the appearance definition of the high-version application.

Simple workaround: Increase the minimum applicable version to API 14:android 4.0 (Icecreamsandwich) or above.

Error creating Android Project--no Resource found that matches the given name ' Theme.AppCompat.Light '

Related Article

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.