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