#android #android-studio #sdk #version #google-play-console
#Android #android-studio #sdk #версия #google-play-консоль
Вопрос:
getDeviceId устарел, и для Android targetSdkVerion 29 это вызывает проблему.
java.lang.SecurityException: getDeviceId: The user 10350 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.ITelephony$Stub$Proxy.getDeviceId(ITelephony.java:10441)
at android.telephony.TelephonyManager.getDeviceId(TelephonyManager.java:1653)
at com.imnos_mobile.data.source.telephony.TelephonyManagerSourceImpl.getDeviceId(TelephonyManagerSourceImpl.kt:154)
at com.imnos_mobile.data.repository.telephony.TelephonyManagerRepositoryImpl.getDeviceId(TelephonyManagerRepositoryImpl.kt:38)
Комментарии:
1. У вас есть какие-либо решения для исправления этого?