我已经成功完成TARGET_ABI https://trac.pjsip.org/repos/wiki/Getting-Started/Android。
当我尝试构建sample Application时,出现以下错误。
/Android/android_ndk/android-ndk-r17c-linux-x86_64/android-ndk-r17c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lpj-aarch64-unknown-linux-android
/Android/android_ndk/android-ndk-r17c-linux-x86_64/android-ndk-r17c/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: cannot find -lpj-aarch64-unknown-linux-android
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:165: recipe for target 'android/app/src/main/jniLibs/arm64-v8a/libpjsua2.so' failed
make[1]: ** [android/app/src/main/jniLibs/arm64-v8a/libpjsua2.so] Error 1
make[1]: Leaving directory '/Documents/PjsipSample/pjproject-2.9/pjsip-apps/src/swig/java'
Makefile:27: recipe for target 'all' failed
make: *** [all] Error 1
我无法生成* .so文件。 Swig版本:3.0.12 NDK:R13 Ubuntu:18.04
有人可以帮我吗?