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

compiled by an unstable version of the Kotlin compiler #61

Closed
Shabinder opened this issue Feb 7, 2021 · 6 comments
Closed

compiled by an unstable version of the Kotlin compiler #61

Shabinder opened this issue Feb 7, 2021 · 6 comments
Labels
question Further information is requested

Comments

@Shabinder
Copy link

Shabinder commented Feb 7, 2021

error: Class 'com.arkivanov.decompose.extensions.compose.jetbrains.RouterStateComposableKt' is compiled by an unstable version of the Kotlin compiler and cannot be loaded by this compiler

@arkivanov
Copy link
Contributor

Hello. Decompose uses Kotlin 1.4.20-2. Please use this version as of now.

@Shabinder
Copy link
Author

Hello. Decompose uses Kotlin 1.4.20-2. Please use this version as of now.

Thanks for quick reply

@arkivanov
Copy link
Contributor

I'm waiting for Jetpack Compose to be updated to Kotlin 1.4.30. If you are using Desktop Compose, please stick to version 0.3.0-build146 for now.

@Shabinder
Copy link
Author

after upgrading to 0.3.0-build146 and kotlin to 1.4.20-2 in my KMP project , Android gives error at setContent
image

@arkivanov
Copy link
Contributor

Build 0.3.0-build146 should work fine with Kotlin 1.4.20-1. The error you are getting is bug in a newer version of Compose: JetBrains/compose-multiplatform#354

@arkivanov arkivanov added the question Further information is requested label Feb 8, 2021
@Shabinder
Copy link
Author

yup got fixed after cleaning and rebuilding after downgrading to 146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants