java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10131 nor current process has android.permission.READ_PHONE_STATE.

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

,
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()

,
via android.com by Unknown author

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

Solutions on the web

via Stack Overflow by Vijay Bansal
, 1 year ago
Requires READ_PHONE_STATE: Neither user 10131 nor current process has android.permission.READ_PHONE_STATE.
via GitHub by maxim-yudin
, 1 year ago
Requires READ_PHONE_STATE: Neither user 10088 nor current process has android.permission.READ_PHONE_STATE.
via Stack Overflow by Antoine Cabrera-Marchal
, 1 year ago
Neither user 10032 nor current process has android.permission.MODIFY_PHONE_STATE.
via xda-developers.com by Unknown author, 1 year ago
Neither user 10182 nor current process has android.permission.DEVICE_POWER.
via xda-developers.com by Unknown author, 1 year ago
no permission to read the sync settings: Neither user 10007 nor current process has android.permission.READ_SYNC_SETTINGS.
via blogspot.com by Unknown author, 2 years ago
Need BLUETOOTH permission: Neither user 10127 nor current process has android.permission.BLUETOOTH.
java.lang.SecurityException: Requires READ_PHONE_STATE: Neither user 10131 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.vending.billing.IInAppBillingService$Stub$Proxy.getSkuDetails(IInAppBillingService.java:251)
at com.inapp.util.IabHelper.querySkuDetails(IabHelper.java:920)
at com.inapp.util.IabHelper.queryInventory(IabHelper.java:550)
at com.inapp.util.IabHelper.queryInventory(IabHelper.java:522)
at com.inapp.util.IabHelper$2.run(IabHelper.java:617)
at java.lang.Thread.run(Thread.java:818)

Users with the same issue

Once, 1 day ago
Once, 4 weeks ago
Once, 1 month ago
Once, 1 month ago
7 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.