Theme.AppCompat.Light can't find the problem

Source: Internet
Author: User

Use ADT to develop a new Android app. Selecting the Supported SDK version number assumes that less than one (Android3.0) will report such as the following error.

Error:error Retrieving parent for item:no Resource found that matches the given name ' Theme.AppCompat.Light '.

The answers given by the official website are:

Https://developer.android.com/tools/support-library/setup.html#add-library

In simple terms, the new Eclipse default template theme UI needs to use the higher version API, assuming that you need to support the low version number, you need to import the Appcompact library to support it. The solution that is generally given on the Internet:

    1. File->import (ANDROID-SDK\EXTRAS\ANDROID\SUPPORT\V7). Choose "AppCompat"
    2. Project-> properties->android. In the section library "ADD" and choose "AppCompat"
included on StackOverflow There are also very many people encountered, but very many people through this solution. But I just can't solve it.
This was later found to be an eclipse bug. Suppose you refer to a library and your code is not in a drive letter, there is this exception .

My Code is on the e-drive. Appcompact's library is in D, and I'll move it from the new to the E-drive OK.

Fuck, waste a lot of time. There are references to the same problem.

Theme.AppCompat.Light can't find the problem

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.