Android dependencies was mistakenly deleted by the solution

Source: Internet
Author: User

Transfer from http://www.eoeandroid.com/thread-272679-1-1.html

How third-party jars are imported

In a new version of the ADT environment, you only need to create a new Libs folder in the project directory (note that Libs is not Lib),
The third-party jar is then copied in, and Eclipse automatically adds the jar to the Android dependencies folder.
You don't have to change it by buildpath yourself, and you don't 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.

1. Android dependencies was mistakenly deleted solution one:
Modify Classpath

Normal classpath.
[Mw_shl_code=java,true]
<?xml version= "1.0" encoding= "UTF-8"?>
<classpath>
<classpathentry kind= "src" path= "src"/>
<classpathentry kind= "src" path= "gen"/>
<classpathentry kind= "Con" path= "Com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind= "Con" path= "Com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind= "Output" path= "Bin/classes"/>
</classpath>[/mw_shl_code]

where <classpathentry kind= "con" path= "Com.android.ide.eclipse.adt.LIBRARIES"/> Represents the Android Dependencies,
BTW, <classpathentry kind= "con" path= "Com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/> is the framework of Android, that


If the Android Dependencies has been mistakenly deleted, just add the corresponding classpathentry to it.

2. Android dependencies was mistakenly deleted solution two:

Project Right-click->android Tools->fix Project

This method can simultaneously solve the problem of missing Android Dependencies and Android frame.

Android dependencies was mistakenly deleted by the solution

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.