Android Development: A code to fix Eclipse view V4 Source

Source: Internet
Author: User

In the Android development, do not see the source code is actually very sad things, about how to view the source of the blog has been many, but today in the attempt to add V4 source code, found a lot of trouble and not reliable way, the experiment for a long time, or did not add, such as the following methods:



    • Resolve Eclipse Unable to open android-support-v4 source

    • Resolve Eclipse cannot view V4,v7-appcompat source

    • Android How to view the Android API source code and support package source code in eclipse

Following these complex methods, it took a long time, eventually did not fix, later steady, finally found in StackOverflow a best solution, and is the official recommended method, the steps are as follows:

    • Create a file in the Libs folder, and name the file as: Android-support-v4.jar.properties, where Android-support-v4.jar to match the name of your V4jar bag.

    • Open this properties, add the following line of code: SRC=D:/ANDROID/SDK/EXTRAS/ANDROID/SUPPORT/V4/SRC, where src= is the path to download the SKD on the computer path, save, restart, you can




Is not super worry, and the next time a new project, directly copy the file to a new project on it, too convenient


Finally, if you are using the window system, the direct copy of the path, you must remember the change to/...


Of course, this is not the way I invented it, the path of the original


This article basically does not have the original content, still is the annotation translation bar

Android sends multiple notification


Android Development: A code to fix Eclipse view V4 Source

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.