0

I have a 2 prebuilt libFOO.so libraries for android. I have copied them on:

Projectfolder/lib/armeabi/libFOO.so

Projectfolder/lib/armeabi/libFOO2.so

Projectfolder/lib/armeabi-v7a/libFOO.so

Projectfolder/lib/armeabi-v7a/libFOO2.so

The problem is that when I build the .apk I don't even have the "lib" folder! How can I make eclipse include these libraries on the .apk?

Padma Kumar
  • 19,893
  • 17
  • 73
  • 130
michelemarcon
  • 23,277
  • 17
  • 52
  • 68

2 Answers2

2

Try to rename the lib folder to libs. That works for our project. Nevertheless this results in a lib folder containing the libraries in your .apk package.

Andreas Klöber
  • 5,855
  • 2
  • 27
  • 20
0

I think you have to put external library in your manifest.xml under application tag.

ex : <uses-library android:name="com.your.external.package" />

sampathpremarathna
  • 4,044
  • 5
  • 25
  • 37