I accidentally removed the library: "android dependencies". Is there a way to retrieve it or import/download? A person suggested me to "go to source and say order import export for all libraries you need except the android defualt libs.." but I don't understand exactly what it means. Any advice would be greatly appreciated!
Asked
Active
Viewed 6,916 times
6
-
1Clean the project and rebuild it. – Shashank Kadne Oct 18 '12 at 12:46
-
well..i did clean the project. and select Build Project under the Project menu. but it does nothing.. – etrademom Oct 18 '12 at 12:51
-
is there a such option for rebuild? – etrademom Oct 18 '12 at 12:52
-
Try this. Right click on project > Properties > Java build path > Add library > Android classpath container > Select your project > Finish – Shashank Kadne Oct 18 '12 at 12:55
-
it doesn't do anything when i follow the steps. am i missing anything please? thank you kindly – etrademom Oct 18 '12 at 12:58
-
Did you see your project name in "Select your project" in Android container ? – Shashank Kadne Oct 18 '12 at 12:59
2 Answers
15
Another stackoverflow post contains solution to this problem.And you do not have to restart eclipse.
Just right click project->Android Tools -> Fix Project Properties and your Android Dependencies folder appears.

Community
- 1
- 1
5
Look at project.properties file. You will see android sdk version(Example : target=android-4) which you used. And then Project -> Right Click -> Java Build Path -> (Your SDK folder -> platform -> android-x(your api version number) -> android.jar(Select this)). And clean your project. Try this.

yahya.can
- 1,790
- 1
- 11
- 9
-
1There are steps missing here. When right clicking the project I get Build Path option not Java build path but still what do I do then? Do I have to add the android.jar as external archive? – kon psych Mar 16 '13 at 19:09
-
1In case someone has the same problem I had to restart eclipse after adding the above jar as external archive. "Clean" didn't do the job. – kon psych Mar 16 '13 at 20:22
-
@konpsych in my case I can still start running the app without restarting, even though the Android Dependencies didn't show up; and yes restarting make the thing appear again – user1509803 Sep 24 '14 at 10:06