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

Unknown Kotlin JVM target: 21 #281

Open
rakshitbharat opened this issue Oct 3, 2024 · 2 comments
Open

Unknown Kotlin JVM target: 21 #281

rakshitbharat opened this issue Oct 3, 2024 · 2 comments

Comments

@rakshitbharat
Copy link

Unknown Kotlin JVM target: 21

with latest tag this is happening and also check in main branch this problem is there

@fr3ts0n
Copy link
Owner

fr3ts0n commented Oct 10, 2024

All CI checks / builds did succeed fine on github CI build.

Could this be a problem with your local dev environment?

@slaw0101
Copy link

slaw0101 commented Dec 10, 2024

Try to add the following in "build.grade" file, "android" section:

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17" // Ensure consistency with JavaVersion.VERSION_17
}

It works for me.

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

3 participants