<div dir="ltr">Hi <span style="font-size:12.8px;font-weight:bold;white-space:nowrap">ahmad, </span><div><span style="font-size:12.8px;font-weight:bold;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">try this:</span></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">APP_PLATFORM=android-19 ./configure-android</span><br></div><div><span style="font-size:12.8px;white-space:nowrap"><br></span></div><div><span style="font-size:12.8px;white-space:nowrap">See: <a href="http://trac.pjsip.org/repos/wiki/Getting-Started/Android#failloadlib">http://trac.pjsip.org/repos/wiki/Getting-Started/Android#failloadlib</a></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 28, 2015 at 10:43 AM, ahmad bilal <span dir="ltr"><<a href="mailto:hafiz.bilal17@gmail.com" target="_blank">hafiz.bilal17@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><br><div dir="ltr">Hi,<div><br></div><div>I am compiling pjsip for android. </div><div>I tried all steps for compiling pjsip that are mentioned in your <a href="http://trac.pjsip.org/repos/wiki/Getting-Started/Android#Configuring" target="_blank">website</a>.</div><div><br></div><div>I want to compile pjsip code for all android target api's. I am using latest android sdk and ndk [r-10e release].</div><div><pre style="border:1px solid rgb(215,215,215);margin-right:1.75em;margin-left:1.75em;padding:0.25em;overflow:auto;color:rgb(0,0,0);font-size:13px;background:rgb(247,247,247)">TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags</pre></div><div>Kindly help me out for following questions:</div><div><ol><li>APP_PLATFORM TARGET for android. [compatible for all Android Api's]</li><li>I want to add Opus codec in Latest pjsip. </li></ol></div><div><br></div><div><b>Exception Trace:</b></div><div><p dir="ltr" style="font-size:12.8px">java.lang.Exception: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" referenced by "libpjsua2.so"...</p><p dir="ltr" style="font-size:12.8px">--------- Cause ---------</p><p dir="ltr" style="font-size:12.8px">java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "rand" referenced by "libpjsua2.so"...</p><p dir="ltr" style="font-size:12.8px">    java.lang.Runtime.loadLibrary(Runtime.java:364)<br>    java.lang.System.loadLibrary(System.java:526)<br>    com.verscom.ringmi.pjsip.SipController.<clinit>(SipController.java:37)<br>    com.verscom.ringmi.MainActivity.setUpSipConfigration(MainActivity.java:250)<br>    com.verscom.ringmi.MainActivity.onCreate(MainActivity.java:166)<br>    android.app.Activity.performCreate(Activity.java:5619)<br>    android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)<br>    android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2512)<br>    android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2607)<br>    android.app.ActivityThread.access$900(ActivityThread.java:174)<br>    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1325)<br>    android.os.Handler.dispatchMessage(Handler.java:102)<br>    android.os.Looper.loop(Looper.java:146)<br>    android.app.ActivityThread.main(ActivityThread.java:5756)<br>    java.lang.reflect.Method.invokeNative(Native Method)<br>    java.lang.reflect.Method.invoke(Method.java:515)<br>    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)<br>    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)<br>    dalvik.system.NativeStart.main(Native Method)<br>-------------------------------</p><p dir="ltr" style="font-size:12.8px">------------Device Info---------</p><p dir="ltr" style="font-size:12.8px">Android version: 19<br>Device: samsung SM-A300FU<br>App version: 1</p></div><div><br></div><div><br></div><div>Kindly reply me ASAP. I am waiting for your response thanks in advance.</div><span class="HOEnZb"><font color="#888888"><span><font color="#888888"><div><br clear="all"><div><br></div>-- <br><div><div dir="ltr">regards<div>Ahmad Bilal</div></div></div>
</div></font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">regards<div>Ahmad Bilal</div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Visit our blog: <a href="http://blog.pjsip.org" rel="noreferrer" target="_blank">http://blog.pjsip.org</a><br>
<br>
pjsip mailing list<br>
<a href="mailto:pjsip@lists.pjsip.org">pjsip@lists.pjsip.org</a><br>
<a href="http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org" rel="noreferrer" target="_blank">http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org</a><br>
<br></blockquote></div><br></div>