6

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!

etrademom
  • 221
  • 4
  • 12

2 Answers2

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
  • 1
    There 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
  • 1
    In 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