Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

  2. ,
    via android.com by Unknown author

    You need to request READ_PHONE_STATE permissions before using of this method.

Solutions on the web

via samsung.com by Unknown author, 1 year ago
Requires READ_PHONE_STATE: Neither user 10040 nor current process has android.permission.READ_PHONE_STATE.
via google.com by Unknown author, 2 years ago
Permission Denial: starting Intent { cmp=com.sec.android.app.servicemodeapp/.ServiceModeApp (has extras) } from ProcessRecord{427a7cd8 5036:com.parizene.netmonitor/u0a148} (pid=5036, uid=10148) requires com.sec.android.app.servicemodeapp.permission.KEYSTRING
via GitHub by int9solutions
, 1 year ago
Permission Denial: opening provider com.android.providers.calendar.CalendarProvider2 from ProcessRecord{80e2c24 25228:org.peaceforward.surfaceapp/u0a214} (pid=25228, uid=10214) requires android.permission.READ_CALENDAR or android.permission.WRITE_CALENDAR
via Stack Overflow by Priti
, 8 months ago
Only SystemUI can disable the safe media volume: Neither user 10134 nor current process has android.permission.STATUS_BAR_SERVICE.
via Stack Overflow by G.Spansky
, 2 years ago
Permission Denial: opening provider com.android.providers.contacts.ContactsProvider2 from ProcessRecord{49af1fb 14363:com.example.gszczepanski.eduandroid/u0a59} (pid=14363, uid=10059) requires android.permission.READ_CONTACTS or android.permission.WRITE_CONTACTS
via GitHub by northkode
, 2 months ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/video/media from pid=12893, uid=10153 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10040 nor current process has android.permission.READ_PHONE_STATE.	at android.os.Parcel.readException(Parcel.java:1546)	at android.os.Parcel.readException(Parcel.java:1499)	at com.android.internal.telephony.ISub$Stub$Proxy.getActiveSubscriptionInfoList(ISub.java:584)	at android.telephony.SubscriptionManager.getActiveSubscriptionInfoList(SubscriptionManager.java:588)	at com.android.systemui.statusbar.BaseStatusBar.getNumberOfActiveSim(BaseStatusBar.java:1572)	at com.android.systemui.statusbar.BaseStatusBar.updateRowStates(BaseStatusBar.java:3659)	at com.android.systemui.statusbar.phone.PhoneStatusBar.updateRowStates(PhoneStatusBar.java:3411)	at com.android.systemui.statusbar.phone.PhoneStatusBar.updateOverFlowView(PhoneStatusBar.java:9063)	at com.android.systemui.statusbar.phone.NotificationPanelView.setQsExpansion(NotificationPanelView.java:2340)	at com.android.systemui.statusbar.phone.NotificationPanelView.onLayout(NotificationPanelView.java:867)	at android.view.View.layout(View.java:16939)	at android.view.ViewGroup.layout(ViewGroup.java:5409)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)	at android.widget.FrameLayout.onLayout(FrameLayout.java:514)	at android.view.View.layout(View.java:16939)	at android.view.ViewGroup.layout(ViewGroup.java:5409)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)	at android.widget.FrameLayout.onLayout(FrameLayout.java:514)	at android.view.View.layout(View.java:16939)	at android.view.ViewGroup.layout(ViewGroup.java:5409)	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)	at android.widget.FrameLayout.onLayout(FrameLayout.java:514)	at android.view.View.layout(View.java:16939)	at android.view.ViewGroup.layout(ViewGroup.java:5409)	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2464)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2167)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1301)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7016)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:777)	at android.view.Choreographer.doCallbacks(Choreographer.java:590)	at android.view.Choreographer.doFrame(Choreographer.java:560)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:763)	at android.os.Handler.handleCallback(Handler.java:739)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:145)	at android.app.ActivityThread.main(ActivityThread.java:6946)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)