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

Koin Issue #89

Closed
aarif04march opened this issue Sep 24, 2021 · 0 comments
Closed

Koin Issue #89

aarif04march opened this issue Sep 24, 2021 · 0 comments

Comments

@aarif04march
Copy link

java.lang.NoSuchMethodError: No virtual method elapsedNow-UwyO8pc()D in class Lkotlin/time/TimeMark; or its super classes.

at org.koin.core.time.MeasureKt.measureDuration(Measure.kt:63)
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:11)
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:11)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at com.rtchagas.pingplacepicker.inject.PingKoinContext.getKoin(Unknown Source:2)
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$2.invoke(ActivityExt.kt:68)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$$special$$inlined$viewModel$2.invoke(Unknown Source:0)
at kotlin.UnsafeLazyImpl.getValue(Lazy.kt:81)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.getViewModel(Unknown Source:2)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.loadNearbyPlaces(PlacePickerActivity.kt:492)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity.access$loadNearbyPlaces(PlacePickerActivity.kt:52)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:332)
at com.rtchagas.pingplacepicker.ui.PlacePickerActivity$getDeviceLocation$2.onSuccess(PlacePickerActivity.kt:52)
at com.google.android.gms.tasks.zzn.run(com.google.android.gms:play-services-tasks@@17.2.0:4)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:230)
at android.app.ActivityThread.main(ActivityThread.java:7873)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)

rtchagas added a commit that referenced this issue Jan 7, 2022
- 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 #89

Signed-off-by: Rafael Chagas <[email protected]>
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