about how to view Android-support-v4.jar source code

Source: Internet
Author: User

Just learning the use of Viewpager, so want to watch its source code. The internet to find a lot of information about the steps below

1: Find Libs/android-support-v4.jar, build path-add to build Path

2:java Build path-libraries

Android-support-v4.jar

Click Source Attachment and edit

Select External location-external folder to find the path XXXXX\SDK\EXTRAS\ANDROID\SUPPORT\V4\SRC

Most of the Internet only said this step, but the individual is always unable to view the source code, until later found a method

3:libraries Select Android Private libraries to remove it

At this point you can watch the source code, personal guess there are a lot of people's way there is no third step may be because the previous use of Android-support-v4.jar all need their own association, and now eclipse automatically set it as the Android Private Libraries, The Android-support-v4.jar priority in Android Private libraries may be higher than referenced libraries, so the source cannot be viewed.

Haha, just run unexpectedly error, connect not on Android-support-v4.jar, after troubleshooting plus fourth step ~ ~

4:java Build Path-order and Export Android-support-v4.jar selected

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.