linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] linphone-android Crashed


From: Leonard Fodje
Subject: Re: [Linphone-developers] linphone-android Crashed
Date: Wed, 09 Mar 2016 17:55:18 -0600

Yes. There is some serious issue with the contacts fragment. Crashes a lot, especially on the new GUI. Hope someone can fix it.

Thanks


Leonard
On Feb 27, 2016, at 12:57 AM, Eugene Punsal Lozada <address@hidden> wrote:

If you're running on Marshmallow, you'll need to grant the permissions in the app settings

On Feb 27, 2016 2:56 PM, "lahiru" <address@hidden> wrote:
Hi

I have successfully build the linphone-android without any error in android studio. But after i installed it in the phone get crashed. Bellow is my error log in Android Monitor. Please help me to resolve this problem.

02-27 12:22:25.433 2920-2946/? E/MP-Decision: Update arg 1
02-27 12:22:25.931 2920-2946/? E/MP-Decision: Update arg 2
02-27 12:22:26.274 13020-13020/? E/AndroidRuntime: FATAL EXCEPTION: main
                                                   Process: org.linphone, PID: 13020
                                                   java.lang.RuntimeException: Unable to resume activity {org.linphone/org.linphone.LinphoneActivity}: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.HtcContactsProvider2 from ProcessRecord{e74d71 13020:org.linphone/u0a492} (pid=13020, uid=10492) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
                                                       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3328)
                                                       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3359)
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2549)
                                                       at android.app.ActivityThread.access$900(ActivityThread.java:150)
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1394)
                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                       at android.os.Looper.loop(Looper.java:168)
                                                       at android.app.ActivityThread.main(ActivityThread.java:5845)
                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
                                                    Caused by: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.contacts.HtcContactsProvider2 from ProcessRecord{e74d71 13020:org.linphone/u0a492} (pid=13020, uid=10492) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
                                                       at android.os.Parcel.readException(Parcel.java:1608)
                                                       at android.os.Parcel.readException(Parcel.java:1561)
                                                       at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3598)
                                                       at android.app.ActivityThread.acquireProvider(ActivityThread.java:5137)
                                                       at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2026)
                                                       at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1481)
                                                       at android.content.ContentResolver.query(ContentResolver.java:488)
                                                       at android.content.ContentResolver.query(ContentResolver.java:447)
                                                       at org.linphone.compatibility.ApiFivePlus.getGeneralContactCursor(ApiFivePlus.java:180)
                                                       at org.linphone.compatibility.ApiNinePlus.getContactsCursor(ApiNinePlus.java:153)
                                                       at org.linphone.compatibility.Compatibility.getContactsCursor(Compatibility.java:93)
                                                       at org.linphone.ContactsManager.prepareContactsInBackground(ContactsManager.java:576)
                                                       at org.linphone.LinphoneActivity.onResume(LinphoneActivity.java:1194)
                                                       at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1326)
                                                       at android.app.Activity.performResume(Activity.java:6323)
                                                       at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3311)
                                                       at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3359)
                                                       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2549)
                                                       at android.app.ActivityThread.access$900(ActivityThread.java:150)
                                                       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1394)
                                                       at android.os.Handler.dispatchMessage(Handler.java:102)
                                                       at android.os.Looper.loop(Looper.java:168)
                                                       at android.app.ActivityThread.main(ActivityThread.java:5845)
                                                       at java.lang.reflect.Method.invoke(Native Method)
                                                       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797)
                                                       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
02-27 12:22:26.275 983-2573/? E/ActivityManager: App crashed! Process: org.linphone


--
Lahiru Maduranga
Web Developer/Software Developer
Globe Internet Limited, Malawi
www.globemw.net | 00265 212 951 962 | Skype: lahirutm
<signature.png>

_______________________________________________
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


reply via email to

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