|
From: | Xuân Tùng Đào |
Subject: | Re: [Linphone-developers] Linphone-android crashes with followingerror |
Date: | Thu, 3 Jul 2014 09:11:39 +0700 |
Hi, AVD doesn't have bluetooth, You must use real device to test. If bluetooth not important for your application, you can comment that code that cause crash your app.
Regrads,
TungDX.
Hi Xuan,How do I fix this? I don’t see where to simulate bluetooth on the AVD.Thanks,LeonardFrom: Xuân Tùng ĐàoSent: Wednesday, July 2, 2014 2:39 AMTo: address@hiddenSubject: Re: [Linphone-developers] Linphone-android crashes with followingerrorHi,
I think beacause your virtual device that not has Bluetooth which cause crash app.See logcat at:
07-02 00:47:52.900: E/AndroidRuntime(942): java.lang.NullPointerException
07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.BluetoothManager.startBluetooth(BluetoothManager.java:96)
07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.BluetoothManager.initBluetooth(BluetoothManager.java:85)On Jul 2, 2014 5:14 AM, "Leonard Fodje" <address@hidden> wrote:
Hi All,I have compiled linphone-android successfully but each time I try to run it on a virtual device, I get the following errors. Any help?07-02 00:47:52.830: W/Linphone(942): MediaStreamer : 1 cores detected and configured07-02 00:47:52.830: D/Linphone(942): Migration to multi transport result = 107-02 00:47:52.840: I/Linphone(942): Push Notification not activated07-02 00:47:52.850: I/Linphone(942): Connectivity has changed.07-02 00:47:52.870: D/Linphone(942): Bluetooth receiver started07-02 00:47:52.870: E/BluetoothAdapter(942): Bluetooth binder is null07-02 00:47:52.880: D/AndroidRuntime(942): Shutting down VM07-02 00:47:52.880: W/dalvikvm(942): threadid=1: thread exiting with uncaught exception (group=0xb2af3ba8)07-02 00:47:52.900: E/AndroidRuntime(942): FATAL EXCEPTION: main07-02 00:47:52.900: E/AndroidRuntime(942): Process: org.linphone, PID: 94207-02 00:47:52.900: E/AndroidRuntime(942): java.lang.NullPointerException07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.BluetoothManager.startBluetooth(BluetoothManager.java:96)07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.BluetoothManager.initBluetooth(BluetoothManager.java:85)07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.LinphoneManager.initLiblinphone(LinphoneManager.java:544)07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.LinphoneManager.access$4(LinphoneManager.java:494)07-02 00:47:52.900: E/AndroidRuntime(942): at org.linphone.LinphoneManager$3.run(LinphoneManager.java:774)07-02 00:47:52.900: E/AndroidRuntime(942): at android.os.Handler.handleCallback(Handler.java:733)07-02 00:47:52.900: E/AndroidRuntime(942): at android.os.Handler.dispatchMessage(Handler.java:95)07-02 00:47:52.900: E/AndroidRuntime(942): at android.os.Looper.loop(Looper.java:136)07-02 00:47:52.900: E/AndroidRuntime(942): at android.app.ActivityThread.main(ActivityThread.java:5017)07-02 00:47:52.900: E/AndroidRuntime(942): at java.lang.reflect.Method.invokeNative(Native Method)07-02 00:47:52.900: E/AndroidRuntime(942): at java.lang.reflect.Method.invoke(Method.java:515)07-02 00:47:52.900: E/AndroidRuntime(942): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)07-02 00:47:52.900: E/AndroidRuntime(942): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)07-02 00:47:52.900: E/AndroidRuntime(942): at dalvik.system.NativeStart.main(Native Method)07-02 00:50:44.401: D/dalvikvm(1147): GC_FOR_ALLOC freed 34K, 4% free 2734K/2840K, paused 35ms, total 36msThanks,Leonard
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |