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

Incompatible Kotlin version #95

Open
iamevaristus opened this issue Jul 30, 2024 · 1 comment
Open

Incompatible Kotlin version #95

iamevaristus opened this issue Jul 30, 2024 · 1 comment

Comments

@iamevaristus
Copy link

Whenever I try using this package, I get the incompatible kotlin version. Am using 1.9.24 but the version from the package is 1.9.10. I cannot downgrade since there are other packages am using that are compatible to 1.9.24 and also because of the newer capabilities of the newest version.

So, do you have plans on updating your kotlin version?

@jumaallan
Copy link
Member

@iamevaristus sorry I missed this

You need to define the compose compiler version in your code, to fix the incompatibility issue. Refer here - https://developer.android.com/jetpack/androidx/releases/compose-kotlin

The sdk uses the kotlin version that you specify, but you need to provide the compatible compose compiler too. Something like this code snippet

android {
    // ... other android configurations

    composeOptions {
        kotlinCompilerExtensionVersion = compose_compiler_version
    }
}

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

2 participants