java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 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

,

Create an empty public constructor in your code.

Solutions on the web

via Stack Overflow by rajshree lanjewar
, 1 year ago
Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 nor current process has android.permission.READ_PHONE_STATE.
via Stack Overflow by chirag patel
, 2 years ago
Unable to start activity ComponentInfo{com.vspf/com.vspf.LoginCheckActivity}: java.lang.SecurityException: getDeviceId: Neither user 10057 nor current process has android.permission.READ_PHONE_STATE.
via Stack Overflow by Mrugesh Thaker
, 1 year ago
Unable to start activity ComponentInfo{com.example.mrugesh.mrugeshthaker/com.example.mrugesh.mrugeshthaker.MrugeshThaker}: java.lang.SecurityException: getDeviceId: Neither user 10074 nor current process has android.permission.READ_PHONE_STATE.
via Stack Overflow by Keshav
, 2 years ago
Unable to start activity ComponentInfo{toadways.ways.toad.toadways/toadways.ways.toad.toadways.RegistrationScreen}: java.lang.SecurityException: getLine1NumberForDisplay: Neither user 10240 nor current process has android.permission.READ_SMS.
via GitHub by pcuco
, 1 year ago
Unable to start activity ComponentInfo{com.app.esettings/com.app.esettings.MainActivity}: java.lang.SecurityException: getLine1NumberForDisplay: Neither user 10094 nor current process has android.permission.READ_SMS.
via Stack Overflow by Nonthonbam Tonthoi
, 1 year ago
Unable to start activity ComponentInfo{com.example.oik.offlinemap/com.example.oik.offlinemap.MapsActivity}: java.lang.SecurityException: getCellLocation: Neither user 10057 nor current process has android.permission.ACCESS_COARSE_LOCATION.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.a3spl.emieno/com.example.a3spl.emieno.MainActivity}: java.lang.SecurityException: getDeviceId: Neither user 10096 nor current process has android.permission.READ_PHONE_STATE.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

66 times, 3 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 3 months ago
468 times, 4 months ago

Write tip

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