Android introduces Support-v7-appcompat package values folder error Resolution

Source: Internet
Author: User

When compiling with eclipse, we need the support package that Google provides to us in order to enable our app to be compatible with the lower version of the SDK.
Google does this to make the Android SDK always backwards compatible, and lets programmers focus on the implementation of their code functionality without having to go into more tangled versions of the problem.
(It's an industry conscience!) )
However, when we reference a support package, we are often plagued by the following exceptions:

Let me share my idea of the solution:

1. To determine the version number of your support package, the steps are simple:

(1) Open your SDK Manager interface:

You can see the latest support package version, if you want to update, then update to the latest version, and then perform the second step.

(2) The first step is to know that you support the package version, and then reference the AppCompat support package in your SDK to the compiler, the general path is: Sdk\extras\android\support\v7\appcompat.
Imported directly using the import operation.

(3) If the above abnormal red error occurred after the introduction, then don't be nervous, right-click Android-support-v7-appcompat Project:-"properties-"

Remember the first step to remember the version number, will be checked here to the corresponding version number, and then apply a bit, and finally clean the project, the error disappears into a trace ....

"It is important to note that if a project is to reference this support package, then the project Build target must also be the same as the support package (the third step is similar to the one above), or else the exception will occur."

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android introduces Support-v7-appcompat package values folder error Resolution

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.