Android NDK应用程序:无法加载库“libcrystax.so”

时间:2015-07-28 09:56:59

标签: android c++ android-ndk

我正在使用Crystax NDK开发Android NDK应用程序。 我已将我的可执行文件和libcrystax.so复制到设备:

adb push ./libs/armeabi/libcrystax.so /mnt/libcrystax.so
adb push ./libs/armeabi/cpp_test /mnt/cpp_test

当我在adb shell中运行可执行文件时,它返回:

$ ./cpp_test                                                                   

soinfo_link_image(linker.cpp:1635): could not load library "libcrystax.so" needed by "./cpp_test"; caused by load_library(linker.cpp:745): library "libcrystax.so" not foundCANNOT LINK EXECUTABLE

所以问题是在哪里放置libcrystax.so?

0 个答案:

没有答案