Search code examples
android-ndk-r5

stlport_shared.so not getting pushed onto the device


I am defining Application.mk APP_STL := stlport_shared

When I run ndk-build which in turn producing file: stlport_shared.so in obj/local/armeabi/ but it is not copying this file to libs/armeabi/ Because of which it doesn't get copied to the device and System.loadLibrary() throws UnsatisfiedLinkError.

Can anyone help?


Solution

  • It should be mentioned in the Application.mk as: APP_MODULES := stlport_shared.so other_dependent.so

    In ordered to be copied to the device.