How to associate ANDROID-SUPPORT-V4 source code

Source: Internet
Author: User

Problem: Use Viewpager or fragmentactivity some V4 package class, when we press F3 can not see the source code, this time we need to associate the source code, the source of the association with the Android source code is not the same.

Workaround:

1, first in the Libs directory of the project to create a configuration file:android-support-v4.jar.properties (recommended)

2. Find the SRC source address of android-support-v4 under the directory of the SDK you installed

my: D:\eclipse\android-sdk\extras\android\compatibility\v4\src

3, editor android-support-v4.jar.properties file is: (note double slash)

src = D:\\eclipse\\android-sdk\\extras\\android\\compatibility\\v4\\src

4, close their works and then open, at this time to choose Viewpager after the F3 can see the source.

5, Congratulations: ANDROID-SUPPORT-V4 Source has been successfully linked.

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.