【bug记录】getDeviceId: The user 10002 does not meet the requirements to access device identifiers.
生活随笔
收集整理的這篇文章主要介紹了
【bug记录】getDeviceId: The user 10002 does not meet the requirements to access device identifiers.
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
?
getDeviceId: The user 10002 does not meet the requirements to access device identifiers. ?com.hik.CASClient.CASClient.getHardwareCodeFromware(Native Method)
使用場(chǎng)景:程序運(yùn)行在小米10系統(tǒng)android10,打開程序崩潰。
嘗試:修改targetSdkVersion改到29以下,但是不起作用。
發(fā)現(xiàn)問題:因?yàn)榈谌娇丶惺褂昧薵etDevice()這樣的獲取imei的方法(我的項(xiàng)目是螢石云的版本導(dǎo)致)
解決辦法:將第三方控件的版本更新(前提是第三方控件已經(jīng)對(duì)這個(gè)問題進(jìn)行了修改)。如果是自己本地的代碼的話,也是同理,將獲取imei碼的部分改成獲取其他唯一碼即可。
總結(jié)
以上是生活随笔為你收集整理的【bug记录】getDeviceId: The user 10002 does not meet the requirements to access device identifiers.的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 桌面小工具,网络时间表
- 下一篇: 录制视频显示的视频角度和拍摄角度保持一致