Question

I am trying to follow the steps of setting up a v7 support library as they are listed on the android development website. Create a library project and ensure the required JAR files are included in the project's build path

I get stuck on step 5 where I am supposed to right click the JAR files and choose "Build Path". This option is missing. I have checked other questions related to this such as this one>>> Question

but none of the listed solutions seem to work for me. Either that or I do not see the options that the posters are referring to on the menus. Has anyone had this problem? Where did I go wrong?

I need this for an android project.

Was it helpful?

Solution

If you are doing in eclipse, then you can go to ProjectName -> Right click on it -> Goto Properties -> Goto Java Build Path -> Go to Library -> Choose Add Jars option if jar is in same project or choose Add External JARs if jar is outside the project folder.

If you have already copied the JAR file to libs/ directory of your project then choose the option of Add JARs and browse to the libs folder where you've copied the jar. Select it and press okay. It should get included in your project. Hope this helps else please comment.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top