Discussion:
[pjsip] Building pjsip 2.6 for armeabi-v7a with Android NDK
Nick Dowell
2017-05-26 15:19:46 UTC
Permalink
After running `make dep` and `make` in the top-level directory, cd into pjsip-apps/src/swig and run `make`

libpjsua2.so will be produced in pjsip-apps/src/swig/java/android/app/src/main/jniLibs/armeabi/

Confusingly, all architectures produce their output in the jniLibs/armeabi directory.
You can run `file libpjsua.so` to verify its architecture.

Hope that helps!
Nick
Hi,
I am facing some issue.
I am building pjsip for android and want to create .so file for armeabi-v7a architecture.
i successfully run command for armeabi-v7a
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-openh264=/Users/nisha/pjsipnew/openh264-master/android
But problem is where do i find libpjsua2.so file for armeabi-v7a architecure.
I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android <https://trac.pjsip.org/repos/wiki/Getting-Started/Android> for reference.
Please help
Regards
Mayur Tailor
Tailor, Mayur
2017-05-30 04:46:55 UTC
Permalink
Hi Nick,

Thanks for reply.

when i am running *TARGET_ABI=armeabi-v7a ./configure-android
--use-ndk-cflags* command on mac i am getting *configure-android error:
compiler not found, please check environment settings (TARGET_ABI, etc)* error
on my terminal. i am not able to find out reason what i am missing.

please help

Regards
Mayur Tailor
Post by Nick Dowell
After running `make dep` and `make` in the top-level directory, cd into
pjsip-apps/src/swig and run `make`
libpjsua2.so will be produced in pjsip-apps/src/swig/java/
android/app/src/main/jniLibs/armeabi/
Confusingly, all architectures produce their output in the jniLibs/armeabi directory.
You can run `file libpjsua.so` to verify its architecture.
Hope that helps!
Nick
Hi,
I am facing some issue.
I am building pjsip for android and want to create .so file for armeabi-v7a architecture.
i successfully run command for armeabi-v7a
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags
--with-openh264=/Users/nisha/pjsipnew/openh264-master/android
But problem is where do i find *libpjsua2.so* file for *armeabi-v7a*
architecure.
I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android
for reference.
Please help
Regards
Mayur Tailor
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
--
------------------------------
*DISCLAIMER:This e-mail and any attachment(s) transmitted with it are
intended solely for the use of the intended recipient(s) and may contain
confidential and privileged information. If you are not the named
addressee, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete it from your system. Any views or opinions
expressed are solely those of the sender and do not necessarily represent
those of Pratham Software or its affiliates or group companies, unless
sender does so with due authority from Pratham Software. Electronic
Correspondence cannot be guaranteed to be secure, timely or error free.
This is subject to change without notice and is intended only for
employees, Licensees and/or affiliates. We do not take responsibility for
acting on time-sensitive instructions sent by email. Any form of
reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail and attachments, if any,
and/or any action taken in reliance of this e-mail, without the prior
written consent of the sender is strictly prohibited. The recipient should
check this e-mail and attachment(s), if any, for the presence of viruses
and/or defects. Pratham Software accepts no liability for any damage caused
by any virus and/or defects transmitted by this email.*
Loading...