Required Help | Android | Pjsip 2.4.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Ahmad Bilal 
I've encountered several issues while building pjsip for android, too, and after some days spent figuring out how to do each step, I've made this project to ease the build process for android: https://github.com/alexbbb/pjsip-android-builder 
In the releases there are also working binaries compiled using Android API 19. 

Alex Gotev 

Team di sviluppo MobiMESH 
Via Benigno Crespi 57, 20159 Milano 
tel. +39 02 70633354 
web http://www.mobimesh.it 


Da: "ahmad bilal" <hafiz.bilal17 at gmail.com> 
A: "pjsip" <pjsip at lists.pjsip.org> 
Inviato: Mercoled?, 28 ottobre 2015 7:43:06 
Oggetto: [pjsip] Required Help | Android | Pjsip 2.4.5 


Hi, 
I am compiling pjsip for android. 
I tried all steps for compiling pjsip that are mentioned in your website . 

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/7ef1d5c9/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux