我收到这个错误:
getDeviceId: Neither user 10111 nor current process has android.permission.READ_PHONE_STATE.
at android.os.Parcel.readException(Parcel.java:1599)
at android.os.Parcel.readException(Parcel.java:1552)
Run Code Online (Sandbox Code Playgroud)
我虽然已经明白了.Android 6.XX Marshmallow设备有什么变化吗?我需要READ_PHONE_STATE允许获取设备的IMEI.PLS.救命.
android ×1