09-30 01:58:16.088 3861-3896/com.example.a23734.myapplication E/Bmob: java.lang.SecurityException: getDeviceId: Neither user 10078 nor current process has android.permission.READ_PHONE_STATE.
09-30 01:58:16.088 3861-3896/com.example.a23734.myapplication E/Bmob: java.lang.SecurityException: getDeviceId: Neither user 10078 nor current process has android.permission.READ_PHONE_STATE.
收起
这是权限问题吧,6.0以下要在清单文件中申请这个权限,6.0及其以上版本要在代码中进行动态申请。
报告相同问题?