Android using support Lib error handling scheme

Source: Internet
Author: User

When you create a new project in eclipse that supports a 4.0 system, ADT introduces Android support Lib to your main project by default.

But many times the following error is reported:

Appcompat_v7/res/values/styles_base.xml:24:error:error Retrieving parent for item:no Resource found that matches the GI Ven name ' Widget.AppCompat.Base '. App

The style or themes resource file will error, causing the project to fail compilation.

Solutions are:

1, to ensure that the support Lib project build target version 5.0 or above,

2. Ensure that the build target version of the main project and the support project is consistent.

Ways to modify Build target in Eclipse: Right-click Project-------Android (project build target)

Select the appropriate target version, apply.

Android using support Lib error handling scheme

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.