Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where the heck is the Android app's lib folder?

Tags:

java

android

jar

I've been trying to find the so-called lib folder, to install some 3rd-party tools (this) there. They tell you to: "place it (downloaded jar file) in your Android app’s libs/ folder". But, in Eclipse, I could not find the lib folder even after expanding all of the directories shown in the navigator area. Will someone tell me where this lib folder is? Thanks.

like image 844
m0rtimer Avatar asked Nov 22 '11 15:11

m0rtimer


2 Answers

If you use Eclipse do the following:

  1. Right-click your project and hit 'Project Properties'.
  2. Choose 'Java Build Path'.
  3. Choose the 'Libraries' tab.
  4. Hit 'Add External JARs...'.
  5. Navigate to your desired .jar-file and hit 'Open'.
  6. Click 'OK'.

Then you should be able to reference your external library.

like image 109
kaspermoerch Avatar answered Oct 14 '22 10:10

kaspermoerch


You have to create it if it's not already there. It should be in the top level of your project folder, at the same level as the src and res folders.

like image 39
Graham Borland Avatar answered Oct 14 '22 10:10

Graham Borland