Reputation: 47
I am new android. How add the JAR file in the android sdk and where to add. Can you anyone please help me.
Thanks Thilak.
Upvotes: 1
Views: 6550
Reputation: 1006724
This means not in eclipse but we want inside android sdk without using eclipse
You cannot put JARs "inside android sdk", other than in the form of building your own device firmware.
To add JARs to an Android project, put them in the libs/
directory, and add them to the build path of your IDE if needed (e.g., Eclipse). For command-line builds with Ant, simply having the JARs in libs/
will suffice.
Upvotes: 1
Reputation: 22066
For a JAR ::
right click on project >> Build path >> Configure Build path >> got to library tab >> add external JAR >> chose from particular location and >>> ok
Upvotes: 4