Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Краш метрики java.lang.SecurityException: MODE_WORLD_READABLE no longer supported #53

Open
EduardAblekimov opened this issue Oct 28, 2019 · 0 comments

Comments

@EduardAblekimov
Copy link

Я использую оболочку замариновскую для метрики. На дроиде 7.1.2 все работает хорошо, однако на дроиде 9 крашится со стэктрейсом ниже.

Я также оформил тикет на репозиторие с замариновским плагином, однако там уже давно не было обновлений. Возможно там просто надо повысить версию метрики с 3.6.4 на 3.8.0 и ошибка исправится?

10-25 13:10:53.427 18480 18512 I AppMetrica: [my.package.name] : [] Initializing of Metrica, Release type, Version 3.6.4, API Level 81, Dated 13.06.2019.
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient: Error while reading from SharedPreferences
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.app.ContextImpl.checkMode(ContextImpl.java:2495)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:414)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:404)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at com.google.android.gms.ads.identifier.AdvertisingIdClient.getAdvertisingIdInfo(Unknown Source:12)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at java.lang.reflect.Method.invoke(Native Method)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at com.yandex.metrica.impl.ac.GoogleAdvertisingIdGetter.e(SourceFile:261)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at com.yandex.metrica.impl.ac.GoogleAdvertisingIdGetter.b(SourceFile:51)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at com.yandex.metrica.impl.ac.GoogleAdvertisingIdGetter$2.a(SourceFile:163)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at com.yandex.metrica.impl.ac.GoogleAdvertisingIdGetter$2.call(SourceFile:158)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.os.Handler.handleCallback(Handler.java:873)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.os.Handler.dispatchMessage(Handler.java:99)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.os.Looper.loop(Looper.java:193)
10-25 13:10:53.453 18480 18509 W AdvertisingIdClient:   at android.os.HandlerThread.run(HandlerThread.java:65)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant