androideclipseosmdroidandroid-native-library

Prebuilt native library in android application


I have an android application which uses some prebuilt native libraries (Osmand prebuilt libraries). The problem is that when I run the application on mobile phone, it says that these libraries are missing. When I looked in the .apk file, there is no "lib" folder - how to set up eclipse to export them?


Solution

  • Finally I have found the solution. It's easier then I expected. All I need is to place the libraries into the libs folder.

    libs
      \---armeabi
      \---armeabi-v7a
      \---mips
      \---x86
    

    Eclipse creates the lib folder in apk by itself.