Skip to content Skip to sidebar Skip to footer

Adding Jars To Classpath, Eclipse, Android

Currently, I go to properties-> build path-> libraries -> and then add external jars to my classpath, I know this is the correct way to do this, for java at least. However

Solution 1:

You can try doing it in eclipse by

Right Click the jar --> Build Path --> Add to build path

Solution 2:

1) Go to your Finder / Explorer and select your .jar files 2) Drag your .jar files into Eclipse, (make sure to put them in your desired Project) 3) right click on each jar -> "build path" -> "add to build path"


Solution 3:

What is the output of the LogCat?

if you are using native code in your projects you must include the so files in libs->armeabi folder. stuff like box2d, chipmunk, xml2, etc...


Post a Comment for "Adding Jars To Classpath, Eclipse, Android"