Hi ahmad, try this: APP_PLATFORM=android-19 ./configure-android See: http://trac.pjsip.org/repos/wiki/Getting-Started/Android#failloadlib On Wed, Oct 28, 2015 at 10:43 AM, ahmad bilal <hafiz.bilal17 at gmail.com> wrote: > > Hi, > > I am compiling pjsip for android. > I tried all steps for compiling pjsip that are mentioned in your website > <http://trac.pjsip.org/repos/wiki/Getting-Started/Android#Configuring>. > > I want to compile pjsip code for all android target api's. I am using > latest android sdk and ndk [r-10e release]. > > TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags > > Kindly help me out for following questions: > > 1. APP_PLATFORM TARGET for android. [compatible for all Android Api's] > 2. I want to add Opus codec in Latest pjsip. > > > *Exception Trace:* > > java.lang.Exception: java.lang.UnsatisfiedLinkError: dlopen failed: cannot > locate symbol "rand" referenced by "libpjsua2.so"... > > --------- Cause --------- > > java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" > referenced by "libpjsua2.so"... > > java.lang.Runtime.loadLibrary(Runtime.java:364) > java.lang.System.loadLibrary(System.java:526) > com.verscom.ringmi.pjsip.SipController.<clinit>(SipController.java:37) > > com.verscom.ringmi.MainActivity.setUpSipConfigration(MainActivity.java:250) > com.verscom.ringmi.MainActivity.onCreate(MainActivity.java:166) > android.app.Activity.performCreate(Activity.java:5619) > > android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) > > android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2512) > > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2607) > android.app.ActivityThread.access$900(ActivityThread.java:174) > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325) > android.os.Handler.dispatchMessage(Handler.java:102) > android.os.Looper.loop(Looper.java:146) > android.app.ActivityThread.main(ActivityThread.java:5756) > java.lang.reflect.Method.invokeNative(Native Method) > java.lang.reflect.Method.invoke(Method.java:515) > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291) > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107) > dalvik.system.NativeStart.main(Native Method) > ------------------------------- > > ------------Device Info--------- > > Android version: 19 > Device: samsung SM-A300FU > App version: 1 > > > Kindly reply me ASAP. I am waiting for your response thanks in advance. > > > -- > regards > Ahmad Bilal > > > > -- > regards > Ahmad Bilal > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151028/1cda5aae/attachment.html>