问题
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!
回答1:
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.
回答2:
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.
来源:https://stackoverflow.com/questions/12954960/accidentally-removed-android-dependencies-folder