I am new android. How add th开发者_如何学编程e JAR file in the android sdk and where to add. Can you anyone please help me.
Thanks Thilak.
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
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.
精彩评论