Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

un.a AndroidJavaException #61

Open
egorovsa opened this issue Apr 21, 2023 · 0 comments
Open

un.a AndroidJavaException #61

egorovsa opened this issue Apr 21, 2023 · 0 comments

Comments

@egorovsa
Copy link

Ребята привет.
Заметил у себя в Crashlytics большое количество кейсов

Non-fatal Exception: java.lang.Exception: AndroidJavaException : com.yandex.metrica.ValidationException: YandexMetrica isn't initialized. Use YandexMetrica#activate(android.content.Context, String) method to activate.
at com.yandex.metrica.impl.ob.un.a(com.yandex.metrica.impl.ob.un)
at com.yandex.metrica.impl.ob.Jf.a(com.yandex.metrica.impl.ob.Jf)
at com.yandex.metrica.YandexMetrica.pauseSession(com.yandex.metrica.YandexMetrica)
at com.unity3d.player.UnityPlayer.nativePause(com.unity3d.player.UnityPlayer)
at com.unity3d.player.UnityPlayer.access$2100(com.unity3d.player.UnityPlayer)
at com.unity3d.player.UnityPlayer$24.run(com.unity3d.player.UnityPlayer$24)
at android.os.Handler.handleCallback(android.os.Handler)
at android.os.Handler.dispatchMessage(android.os.Handler)
at android.os.Looper.loop(android.os.Looper)
at com.unity3d.player.UnityPlayer$e.run(com.unity3d.player.UnityPlayer$e)
at UnityEngine.AndroidJNISafe.CheckException(UnityEngine.AndroidJNISafe)
at UnityEngine.AndroidJavaObject._CallStatic(UnityEngine.AndroidJavaObject)
at YandexAppMetricaAndroid.PauseSession(YandexAppMetricaAndroid)

Версия пакета 5.2.0
Unity: 2021.3.21f1 Personal

AppMetrica инициализируется с помощью вашего префеба
Включены

  • Exception reporting
  • Session timeout 10 sec
  • Location tracking
  • Statistic Sending
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant