lijunhuayc / EasyAndroidUpgrade

一行代码搞定android应用内部升级
Apache License 2.0
28 stars 16 forks source link

java.lang.SecurityException #1

Open JianChi8 opened 6 years ago

JianChi8 commented 6 years ago

java.lang.SecurityException 位置:com.lijunhuayc.upgrade.model.a.a 会有什么安全错误抛出

lijunhuayc commented 6 years ago

tm.getDeviceId()读取IMEI在部分手机上需要动态申请 Manifest.permission.READ_PHONE_STATE 权限。

macleo commented 6 years ago

Android 版本超过6.0.需要申请,没申请。就抛SecirityException了