- Download the jar files to your computer.
- Create a new folder, libs, in your Eclipse/Android project (if it does not exist)
- Right-click libs and choose Import -> General -> File System, then Next, Browse in the filesystem to find the parent directory where the jar(s) were downloaded.
- Click OK, then click the directory name (not the checkbox) in the left pane, then check the relevant JAR in the right pane. This puts the library into your project.
- Right-click on your project, choose Build Path -> Configure Build Path, then click the Libraries tab, then Add JARs..., navigate to your new JAR in the libs directory and add it.This step is when the new jar gets converted to a Dalvik-converted JAR that can be used with the Android project.
Wednesday, April 30, 2014
Adding external/third party jars to Android project in libs folder
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment