Talk about Android-support-v4, 7, 13.

Source: Internet
Author: User

ANDROID-SUPPORT-V4: This package is designed to take care of 1.6 and later, this package is the most widely used,Eclipse New project, the default with the . When you open a . class file, There is no anti-compile plugin underEclipse that cannot be opened.

ANDROID-SUPPORT-V7: This package is designed to take care of 2.1 and above, but does not include lower, so if 1.6 is not considered , We can add this package, and note thatv7 is dependent on the V4 package, that is , two must be included at a time.

ANDROID-SUPPORT-V13: This package is designed for Android 3.2 and later, generally we are not used, tablet development can be used.


When developing an ADT New project, it will automatically help you to add v4.jar bindings to your project, but you will not be able to view V4.jar 's source code. How can I view the source code?

Solutions are:

First , you click the right button in the project, go to Project properties , select the librarytab column, Android Dependencies remove off

Then , look for the jar under /extras\android\support\v4 in the directory of the SDK . package, and then add it to the

Finally, you can follow the previous steps to bind the source code, right-click jar package,attach -sourch-> file source code files into the source file location in the selected can


Now many open source jar package Import android-support-v4, if and already have android-support-v13 conflict, can delete android-support-v13, use Android-support-v4. Getfragmentmanager changed to Getsupportfragmentmanager in fragment.

Talk about Android-support-v4, 7, 13.

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.