"Go" How to manually add Android dependencies pack

Source: Internet
Author: User

Before ADT16 can be associated with the project, eclipse will automatically add referencelibrary to the project. The new version of ADT modifies the way third-party jars are imported, simply create a new Libs folder in the project directory, note that Libs is not LIB, and then copy the third-party jar into it, and eclipse will automatically add the jar to Android Dependencies folder, you do not have to change through the buildpath yourself, do not need to referencelibrary.

In addition, if more than one project is associated, such as a project set to Islibaray,b engineering to introduce a project, it will automatically put a project build jar into the Android dependencies folder.

Sometimes we don't build Android Dependencies when we import the low-version ADT-developed Android project in Eclipse with the new version of ADT installed, how do I fix it?

Here's how to fix it:

1, if the previous jar is in the Lib directory, you can first copy the jar file in the Lib directory, then delete the Lib directory, create a new libs directory, and then copy the jar file to the Libs directory. Without adding to build path, the system will automatically add the jar package under Libs to the build path (which is actually added to the library under Android dependencies).

2, if you accidentally deleted the Android dependencies this library, you can delete the Libs directory and then create a new libs directory several times, and copy the jar file to the Libs directory, the system will be automatically added.

3, if 1, 2 does not take effect, you can try to restart Eclipse, this time it is effective.

Form:http://blog.sina.com.cn/s/blog_6400e5c50101r1ta.html

"Go" How to manually add Android dependencies pack

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.