Menu

Tree [197da2] master /
 History

HTTPS access


File Date Author Commit
 res 2013-11-05 Emmanuel Lejeune Emmanuel Lejeune [197da2] improved logging messages, put filter below ext...
 src 2013-11-05 Emmanuel Lejeune Emmanuel Lejeune [197da2] improved logging messages, put filter below ext...
 AndroidManifest.xml 2013-10-23 Emmanuel Lejeune Emmanuel Lejeune [727e29] Initial commit
 readme.txt 2013-10-23 Emmanuel Lejeune Emmanuel Lejeune [727e29] Initial commit

Read Me

http://stackoverflow.com/questions/3642928/adding-a-library-jar-to-an-eclipse-android-project

Instead, follow the (widely available) instructions for importing the third-party library, then adding it using Build Path (which makes it known to Eclipse for compilation purposes). Here is the step-by-step:

    Download the library to your host development system.
    Create a new folder, libs, in your Eclipse/Android project.
    Right-click libs and choose Import -> General -> File System, then Next, Browse in the filesystem to find the library's parent directory (i.e.: where you downloaded it to).
    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 (physically).
    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, incidentally, is the moment at which your new JAR is converted for use on Android.)

What you've done here accomplishes two things:

    Includes a Dalvik-converted JAR in your Android project.
    Makes Java definitions available to Eclipse in order to find the third-party classes when developing (that is, compiling) your project's source code.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.