收藏
回答

Android项目升级从28升级到29一直报这个错误 ,求大神帮看下解决?

项目使用了微信分享的SDK,原来28没有这个报错,升级以后就一直报这个错,不知道怎么触发的。谁能帮看看啊?

2021-01-05 09:27:21.282 16214-16386/com.ijiar.funa E/MtaSDK: get device id error

    java.lang.SecurityException: getUniqueDeviceId: The user 10419 does not meet the requirements to access device identifiers.

        at android.os.Parcel.createException(Parcel.java:2071)

        at android.os.Parcel.readException(Parcel.java:2039)

        at android.os.Parcel.readException(Parcel.java:1987)

        at com.android.internal.telephony.IHwTelephony$Stub$Proxy.getUniqueDeviceId(IHwTelephony.java:3173)

        at android.telephony.HwTelephonyManagerInner.getUniqueDeviceId(HwTelephonyManagerInner.java:1425)

        at android.telephony.HwTelephonyManagerInnerUtils.getUniqueDeviceId(HwTelephonyManagerInnerUtils.java:71)

        at android.telephony.HwInnerTelephonyManagerImpl.getUniqueDeviceId(HwInnerTelephonyManagerImpl.java:361)

        at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:1653)

        at com.tencent.stat.common.Util.getDeviceID(SourceFile:174)

        at com.tencent.stat.event.Event.init(SourceFile:178)

        at com.tencent.stat.event.Event.<init>(SourceFile:125)

        at com.tencent.stat.event.k.<init>(SourceFile:29)

        at com.tencent.stat.event.b.<init>(SourceFile:22)

        at com.tencent.stat.StatServiceImpl$36.run(SourceFile:822)

        at android.os.Handler.handleCallback(Handler.java:900)

        at android.os.Handler.dispatchMessage(Handler.java:103)

        at android.os.Looper.loop(Looper.java:219)

        at android.os.HandlerThread.run(HandlerThread.java:67)

回答关注问题邀请回答
收藏

1 个回答

  • 王俊干
    王俊干
    2021-08-10

    解决了吗

    2021-08-10
    有用
    回复
登录 后发表内容
问题标签