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

Support Kotlin 1.8 #163

Closed
ch-linhphan opened this issue Jan 22, 2024 · 8 comments · Fixed by #202
Closed

Support Kotlin 1.8 #163

ch-linhphan opened this issue Jan 22, 2024 · 8 comments · Fixed by #202

Comments

@ch-linhphan
Copy link

Summary

By upgrade the kotlin embedded version or increase android build gradle to 8.0, I got this build error

Execution failed for task ':amplitude_flutter:compileDebugKotlin'.
'compileDebugJavaWithJavac' task (current target is 1.8) and 'compileDebugKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.

Motivations

Latest release of some libaries (eg: Firebase, reCaptcha) required kotlin 1.8 version

@QPAYRE
Copy link

QPAYRE commented Feb 8, 2024

Same problem here
@ch-linhphan if you found a solution please let met know.

@AlexPopaUpcode
Copy link

I have also encountered this issue and I don't have a solution yet

@AndreHaueisen
Copy link

This is blocking a prod release for us. Any updates?

@marcuscorreasmash
Copy link

same problem here.. any update please?

@otopba
Copy link

otopba commented Jun 4, 2024

Same here

@gothedistance
Copy link

Same Here...

@putnokiabel
Copy link
Contributor

#202 should fix the issue.

Until it's merged (or the issue is otherwise fixed) and there's a new release, you can use this as a workaround

amplitude_flutter:
    git:
      url: https://github.com/putnokiabel/Amplitude-Flutter.git
      ref: jvm-target

Copy link

github-actions bot commented Sep 9, 2024

🎉 This issue has been resolved in version 3.16.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants