我在Android 10中收到IMEI编号错误 [英] I am getting IMEI Number error in Android 10

查看:323
本文介绍了我在Android 10中收到IMEI编号错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在接收IMEI&Android 10中的SIM序列号错误,例外是-

I am getting IMEI & SIM Serial Number error in Android 10, Exceptions are -

java.lang.SecurityException: getDeviceId: The user 10526 does not meet the requirements to access device identifiers.
java.lang.SecurityException: getIccSerialNumber: The user 10526 does not meet the requirements to access device identifiers.

推荐答案

我正在接收IMEI&Android 10中的SIM序列号错误

I am getting IMEI & SIM Serial Number error in Android 10

从Android 10开始,Google增加了访问设备不可重置标识符的限制.

From Android 10, Google added restriction to access the device's non-resettable identifiers.

所有方法 getImei() getDeviceId(),

All methods getImei(), getDeviceId(), getSerial() will return SecurityException or null for all Third-party apps(installed from Google play store).

无法在Android 10或更高版本的设备上获取IMEI.

Not possible to get IMEI on Android 10 or higher devices.

请参见对不可重置设备的限制标识符

这篇关于我在Android 10中收到IMEI编号错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆