Hello Team, Greetings of the day!
I was trying to generate libpjsua2.so file using following link: https://trac.pjsip.org/repos/wiki/Getting-Started/Android I am getting confused in few steps and because of that I am not getting success. Can you please help me with the following questions: 1. I have properly set ANDROID_NDK_ROOT and JAVA_HOME path. But
while performing Building and running pjsua2 sample
application command, I am getting error like
/home/aanalmehta/Android/Sdk/ndk/18.1.5063045/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 I am not getting any solution over here. 2. I tried to download latest NDK file from https://developer.android.com/ndk/downloads and now I am getting following error
In file included from /home/aanalmehta/Android/android_ndk/android-ndk-r20/sources/cxx-stl/llvm-libc++/include/type_traits:406: 3. Do I need all four folders - arm64-v8a, armeabi-v7a, x86 and
x86_64? If yes then how to generate all four folders? As I am
giving TARGET_ABI=arm64-v8a ./configure-android --use-ndk-cflags --with-ssl=[your_openssl_path]/openssl-1.0.2a it's only generating arm64-v8a folder inside jniLibs. 4. If I got success in generating .so file then how to use it in my current project. What things need to be taken care?
Your answers will help me a lot. Thank you for your precious time.
Thanks and regards, Aanal Mehta |
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org