Neither user 10004 nor current process has android.permission.READ_PHONE_STATE -


java.lang.runtimeexception: unable start activity componentinfo{com.ultraliant.brandcommunity.jaijinendra/com.ultraliant.brandcommunity.jaijinendra.emailactivity}: java.lang.securityexception: getdeviceid: neither user 10004 nor current process has android.permission.read_phone_state. @ android.app.activitythread.performlaunchactivity(activitythread.java:3253) @ android.app.activitythread.handlelaunchactivity(activitythread.java:3349) @ android.app.activitythread.access$1100(activitythread.java:221) @ android.app.activitythread$h.handlemessage(activitythread.java:1794) @ android.os.handler.dispatchmessage(handler.java:102) @ android.os.looper.loop(looper.java:158) @ android.app.activitythread.main(activitythread.java:7225) @ java.lang.reflect.method.invoke(native method) @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:1230) @ com.android.internal.os.zygoteinit.main(zygoteinit.java:1120) caused by: java.lang.securityexception: getdeviceid: neither user 10004 nor current process has android.permission.read_phone_state. @ android.os.parcel.readexception(parcel.java:1620) @ android.os.parcel.readexception(parcel.java:1573) @ com.android.internal.telephony.itelephony$stub$proxy.getdeviceid(itelephony.java:5371) @ android.telephony.telephonymanager.getdeviceid(telephonymanager.java:812) @ com.ultraliant.brandcommunity.jaijinendra.emailactivity.dopermissiongrantedstuffs(emailactivity.java:198) @ com.ultraliant.brandcommunity.jaijinendra.emailactivity.loadimei(emailactivity.java:103) @ com.ultraliant.brandcommunity.jaijinendra.emailactivity.oncreate(emailactivity.java:67) @ android.app.activity.performcreate(activity.java:6876) @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1135) @ android.app.activitythread.performlaunchactivity(activitythread.java:3206) ... 9 more


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -