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

Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option #273

Closed
DarkAbhi opened this issue Oct 28, 2021 · 5 comments
Assignees
Labels
Released Released already on the latest version.

Comments

@DarkAbhi
Copy link

DarkAbhi commented Oct 28, 2021

Please complete the following information:

  • Library Version - 1.3.9
  • Affected Device(s) - Asus Zenfone Max Pro M1

Describe the Bug:

image

ToolTipUtils.kt: (24, 23): Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option

Android Studio Version

Android Studio Arctic Fox | 2020.3.1 Patch 3
Build #AI-203.7717.56.2031.7784292, built on October 1, 2021
Runtime version: 11.0.10+0-b96-7249189 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.dengzii.plugin.adb, wu.seal.tool.jsontokotlin, org.jetbrains.kotlin
@IgorSerbai
Copy link

1.3.8 version same error. Downgrade to 1.3.7 helped

@skydoves
Copy link
Owner

skydoves commented Oct 29, 2021

Hey folks, this project is based on Gradle 7.0, so you can build with JVM target 11.
https://stackoverflow.com/questions/66980512/android-gradle-plugin-requires-java-11-to-run-you-are-currently-using-java-1-8

@skydoves
Copy link
Owner

This will be fixed in the next version.
Thanks!

@skydoves skydoves added the Release Next This feature will be released on next version label Oct 29, 2021
@skydoves skydoves self-assigned this Oct 29, 2021
@skydoves skydoves added Released Released already on the latest version. and removed Release Next This feature will be released on next version labels Oct 29, 2021
@skydoves
Copy link
Owner

A new stable 1.4.0 has been released.

@DarkAbhi
Copy link
Author

Thanks! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released Released already on the latest version.
Projects
None yet
Development

No branches or pull requests

3 participants