Reputation: 188
I am beginner in android. My client gives me a sample project as reference. In that project have an extra folder 'android dependency’ and that contain a jar file 'annotation.jar' .How can I add the very same jar to my project dependency folder? Any one please helps me!
Upvotes: 3
Views: 1190
Reputation: 6277
Follow this: Project->RightClick->Properties->BuildPath and Add External jar then browse for particular jar file and Add.
Upvotes: 1
Reputation: 9574
Just copy it in your libs folder and refresh your project. Remember it should be libs
not lib
. Also remove it from your "external jars" path from Project->RightClick->Properties->BuildPath
Edit :
And also try this
Also remove android.jar file to your build path.
Upvotes: 0
Reputation: 26034
Find "libs" directory in your project. Those will contain physically those jar files. Android Dependency will indicate that how many libraries are associated with current project.
When you find "libs" directory, right click on jar files, and you will find "Build Path" and then add them to build path. will solve your problem.
Edit
Go to the SDK Manager within eclipse (Window --> Android SDK Manager) and installed the Android Support Package which is found in the Extras folder.
Upvotes: 3