我正在使用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?