About Android Support Library package

Source: Internet
Author: User

Transfer from http://my.oschina.net/chengliqun/blog/148451

n long time did not do Android, before doing, 2.2 just out, now Android are updated to 4.3, and from the previous period of Time Android SDK version of the market share, 1.6, 2.1 or occupy a certain market, so in some cases, We still have to consider compatibility with these versions.

Google offers a package of Android support Library packages to ensure compatibility with high-version SDK development, that is, when we develop with 4.x, we can use some features of the higher version, such as Fragement, in the 1.6 version. Viewpager, below, briefly explain the differences between these versions:

Android Support V4 : This package is designed to take care of 1.6 and later versions, This package is the most widely used, Eclipse new project when the default comes with.

Android Support V7: This package is designed to take care of 2.1 and later versions, but does not include lower, so if you do not consider 1.6, we can add this package, in addition, note that V7 is to rely on V4 This package, that is, two must be included at the same time.

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

-------------------------------------------------------------------

There is such a problem:

When developing ADT New project, will automatically help you to add V4.jar bindings to your project, but you can not view the source of V4.jar, how to see the source code?


Solutions are:
First, you click the right button in the project, go to Project properties, select the Librarytab column, remove the Android Dependencies from the


Then, in the SDK directory, look for the jar package under/EXTRAS\ANDROID\SUPPORT\V4 and add it to the


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

About Android Support Library package

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.