Right click on the project in which you want to put jar file. A window will open like this

Click on the AddExternal Jars there you can give the path to that jar file
Answer from Ram kiran Pachigolla on Stack OverflowRight click on the project in which you want to put jar file. A window will open like this

Click on the AddExternal Jars there you can give the path to that jar file
As of rev 17 of the Android Developer Tools, the correct way to add a library jar when.using the tools and Eclipse is to create a directory called libs on the same level as your src and assets directories and then drop the jar in there. Nothing else.required, the tools take care of all the rest for you automatically.
Setting the classpath in java using Eclipse IDE - Stack Overflow
A .jar added to the Eclipse classpath is missing at runtime
How to place a file on classpath in Eclipse? - Stack Overflow
Configure classpath in Intellij similar to adding a project to Eclipse's classpath user entries
In your picture you have maven dependencies. As such, the easiest to import such project info IntelliJ is usually the following : File > Open > sélect your root pom > select « open as a project » That should apply all the correct settings, given that you already have a compatible SDK registered.
More on reddit.comVideos
Try this:
Project -> Properties -> Java Build Path -> Add Class Folder.
If it doesnt work, please be specific in what way your compilation fails, specifically post the error messages Eclipse returns, and i will know what to do about it.
You can create new User library,
On
Copy"Configure Build Paths" page -> Add Library -> User Library (on list) -> User Libraries Button (rigth side of page)
and create your library and (add Jars buttons) include your specific Jars.
I hope this can help you.
Just to add. If you right-click on an eclipse project and select Properties, select the Java Build Path link on the left. Then select the Source Tab. You'll see a list of all the java source folders. You can even add your own. By default the {project}/src folder is the classpath folder.
One option is to place your properties file in the src/ directory of your project. This will copy it to the "classes" (along with your .class files) at build time. I often do this for web projects.