Eclipse import? appcompat,design Compatibility Pack

Source: Internet
Author: User

    fromAndroid StudioLaunch1.0after the official version, it has been asdevelopment project, but a recent test of a project isEclipsestructure, importing asAfter, is a variety of error messages, decided to change toEclipse.

ppcompat,carview,recyclerview, Design Compatibility Pack and components to run these packages with native SDK

for convenience, to Library in the form of import:

hook up copy projects int  Workspace

root diretory: SDK

.. Sdk\extras\android\support\v7

and sequentially import appcompat,recyclerview,cardview,design such as compatibility packs and components.

The following error is reported when importing:

 

This is because there is no The highest version number: So in the resource file error, the compilation version to the highest, that is, ok

Hook up is library

, upgrade to 6.0

in the import Design after that, the following error is reported:

This is because appcompat Compatibility Pack:

Add V7-appcompat Compatibility Pack, error disappears!

Then, the original project to change to rely on the above package!

 

such a Library, the form, than the import Jar better, easy to use resource files, reduce error!



From for notes (Wiz)

Eclipse import? appcompat,design Compatibility Pack

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.