How to Add JARs to an Android Project
Developers who offer Java archive -- JAR -- files let you import the Java code into your existing application. Eclipse has an import wizard that lets you import any JAR library into your application. JAR files contain pre-programmed libraries that save you time coding Android applications or other Java applications. Importing the JAR files lets you use the files' functions and properties.
Instructions
-
-
1
Select the Windows "Start" button. Type "eclipse.exe" in the text box. Press "Enter." Double-click the executable file to start Eclipse.
-
2
Click the "File" menu item and select "Import." A configuration window opens. Select the "Existing Projects into Workspace" option and click "Next."
-
-
3
Click "Select archive file." Next to the selection, click the "Browse" button and choose your JAR file. Click "OK."
-
4
Check the libraries you want to import. If you want to select them all, click "Select All." Click "Finish" to import the libraries.
-
1