linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] Enquiry:Linphone-android Android Source Issue:


From: Philip Choo
Subject: Re: [Linphone-developers] Enquiry:Linphone-android Android Source Issue: liblinphone-x86.so
Date: Thu, 10 Mar 2016 16:29:27 +0800

Here's the full error description:

03-10 08:10:56.747 15864-15864/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                   Process: org.linphone, PID: 15864
                                                   java.lang.ExceptionInInitializerError
                                                       at java.lang.Class.classForName(Native Method)
                                                       at java.lang.Class.forName(Class.java:324)
                                                       at java.lang.Class.forName(Class.java:285)
                                                       at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:44)
                                                       at org.linphone.LinphoneService.onCreate(LinphoneService.java:138)
                                                       at android.app.ActivityThread.handleCreateService(ActivityThread.java:2877)
                                                       at android.app.ActivityThread.-wrap4(ActivityThread.java)
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427)
                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                       at android.os.Looper.loop(Looper.java:148)
                                                       at android.app.ActivityThread.main(ActivityThread.java:5417)
                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
                                                    Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/org.linphone-1/lib/x86/liblinphone-x86.so: has text relocations
                                                       at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:67)
                                                       at java.lang.Class.classForName(Native Method) 
                                                       at java.lang.Class.forName(Class.java:324) 
                                                       at java.lang.Class.forName(Class.java:285) 
                                                       at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:44) 
                                                       at org.linphone.LinphoneService.onCreate(LinphoneService.java:138) 
                                                       at android.app.ActivityThread.handleCreateService(ActivityThread.java:2877) 
                                                       at android.app.ActivityThread.-wrap4(ActivityThread.java) 
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427) 
                                                       at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                       at android.os.Looper.loop(Looper.java:148) 
                                                       at android.app.ActivityThread.main(ActivityThread.java:5417) 
                                                       at java.lang.reflect.Method.invoke(Native Method) 
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
                                                    Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/org.linphone-1/lib/x86/liblinphone-x86.so: has text relocations
                                                       at java.lang.Runtime.loadLibrary(Runtime.java:372)
                                                       at java.lang.System.loadLibrary(System.java:1076)
                                                       at org.linphone.core.LinphoneCoreFactoryImpl.<clinit>(LinphoneCoreFactoryImpl.java:57)
                                                       at java.lang.Class.classForName(Native Method) 
                                                       at java.lang.Class.forName(Class.java:324) 
                                                       at java.lang.Class.forName(Class.java:285) 
                                                       at org.linphone.core.LinphoneCoreFactory.instance(LinphoneCoreFactory.java:44) 
                                                       at org.linphone.LinphoneService.onCreate(LinphoneService.java:138) 
                                                       at android.app.ActivityThread.handleCreateService(ActivityThread.java:2877) 
                                                       at android.app.ActivityThread.-wrap4(ActivityThread.java) 
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1427) 
                                                       at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                       at android.os.Looper.loop(Looper.java:148) 
                                                       at android.app.ActivityThread.main(ActivityThread.java:5417) 
                                                       at java.lang.reflect.Method.invoke(Native Method) 
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 


On Thu, Mar 10, 2016 at 4:20 PM, Philip Choo <address@hidden> wrote:
I have tried on compiling in Android Studio using version 22, in my gradle file settings: 

compileSdkVersion 22
buildToolsVersion "20.0.0"

However the error /data/app/org.linphone-1/lib/x86/liblinphone-x86.so: has text relocations still exists. Is it something to do with the NDK? As previously mentioned, the liblinphone-x86.so was taken from linphone-android-sdk.

The source code downloaded is from git://git.linphone.org/linphone-android.git --recursive

Where did i go wrong..... 

On Thu, Mar 10, 2016 at 9:50 AM, Philip Choo <address@hidden> wrote:
Thanks Renzo. For point 3, any suggestions or link I should read/study first on how liblinphone SDK works? For audio call, and video call? Appreciate your pointers very much.


On Mar 10, 2016 00:20, "Renzo Santillán Ch." <address@hidden> wrote:
this happen when you run on android >= 6.0 
If you have source code. Try to change compile with 22 version

2016-03-09 11:15 GMT-05:00 Philip Choo <address@hidden>:
Hi guys,

    Need some guidance/help here as I'm trying to get the downloaded source code of Linphone to work and run on Android however I have encounter one issue.

    1. Was missing x86/liblinphone-x86.so in the libs directory, however I placed in with the Android Linphone SDK liblinphone-x86.so

    2. It caused error:
        /data/app/org.linphone-1/lib/x86/liblinphone-x86.so: has text relocations

    How do I fix those?


    3. Lastly I would ask for simple example source code, what I want to do is just a simple android app, whenever a button is pressed, it will make a sip video call

    Sorry for the noob questions, still relatively new with Android......and thanks in advance.

Philip

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




--
Cordialmente.
Santillán Chavez Renzo David.

_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]