You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting crash report on many devices after upgrading play services.
Fatal Exception: java.lang.NoSuchMethodError: No static method toDouble-impl(JLjava/util/concurrent/TimeUnit;)D in class Lkotlin/time/Duration; or its super classes (declaration of 'kotlin.time.Duration' appears in /data/app/~~d-UX4BGerrRpTNySBXrPhg==/com.hishabee.business-JOc5lJc09mapxjTUysFhsA==/base.apk!classes3.dex)
at org.koin.core.time.MeasureKt.measureDuration(Measure.kt:32)
at org.koin.core.KoinApplication.modules(KoinApplication.kt:63)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:19)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:16)
at org.koin.dsl.KoinApplicationKt.koinApplication(KoinApplication.kt:28)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:16)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:15)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at com.rtchagas.pingplacepicker.inject.PingKoinContext.getKoin(PingKoinComponent.kt:15)
at com.rtchagas.pingplacepicker.inject.PingKoinComponent$DefaultImpls.getKoin(PingKoinComponent.kt:36)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getKoin(PlacePickerActivity.kt:52)
at org.koin.android.ext.android.ComponentCallbackExtKt.getKoin(ComponentCallbackExt.kt:31)
at org.koin.android.viewmodel.ext.android.ActivityExtKt.getViewModel(ActivityExt.kt:66)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$special$$inlined$viewModel$default$2.invoke(ActivityExt.kt:68)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$special$$inlined$viewModel$default$2.invoke(ActivityExt.kt:38)
at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(PlacePickerActivity.kt:93)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:492)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getDeviceLocation$lambda-7(PlacePickerActivity.kt:332)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.$r8$lambda$aHky0eaA5cVOLK-CPWrdPqsO7yQ()
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$ExternalSyntheticLambda5.onSuccess(:6)
at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:263)
at android.app.ActivityThread.main(ActivityThread.java:8283)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
The text was updated successfully, but these errors were encountered:
- Set compileSdk to 31.
Any client app must also bump to latest SDK.
Koin has a known issue with Kotlin 1.6
but it is currently mitigated.
Fixes#92, fixes#89
Signed-off-by: Rafael Chagas <[email protected]>
Getting crash report on many devices after upgrading play services.
Fatal Exception: java.lang.NoSuchMethodError: No static method toDouble-impl(JLjava/util/concurrent/TimeUnit;)D in class Lkotlin/time/Duration; or its super classes (declaration of 'kotlin.time.Duration' appears in /data/app/~~d-UX4BGerrRpTNySBXrPhg==/com.hishabee.business-JOc5lJc09mapxjTUysFhsA==/base.apk!classes3.dex)
at org.koin.core.time.MeasureKt.measureDuration(Measure.kt:32)
at org.koin.core.KoinApplication.modules(KoinApplication.kt:63)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:19)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2$1.invoke(PingKoinComponent.kt:16)
at org.koin.dsl.KoinApplicationKt.koinApplication(KoinApplication.kt:28)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:16)
at com.rtchagas.pingplacepicker.inject.PingKoinContext$koin$2.invoke(PingKoinComponent.kt:15)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at com.rtchagas.pingplacepicker.inject.PingKoinContext.getKoin(PingKoinComponent.kt:15)
at com.rtchagas.pingplacepicker.inject.PingKoinComponent$DefaultImpls.getKoin(PingKoinComponent.kt:36)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getKoin(PlacePickerActivity.kt:52)
at org.koin.android.ext.android.ComponentCallbackExtKt.getKoin(ComponentCallbackExt.kt:31)
at org.koin.android.viewmodel.ext.android.ActivityExtKt.getViewModel(ActivityExt.kt:66)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$special$$inlined$viewModel$default$2.invoke(ActivityExt.kt:68)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$special$$inlined$viewModel$default$2.invoke(ActivityExt.kt:38)
at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(PlacePickerActivity.kt:93)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:492)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getDeviceLocation$lambda-7(PlacePickerActivity.kt:332)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.$r8$lambda$aHky0eaA5cVOLK-CPWrdPqsO7yQ()
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$ExternalSyntheticLambda5.onSuccess(:6)
at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.1:1)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:263)
at android.app.ActivityThread.main(ActivityThread.java:8283)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)
The text was updated successfully, but these errors were encountered: