Closed kansson closed 1 year ago
Got it working, Gradle is so fun sometimes.
Hey, just to provide some more info regarding this issue although I see it is closed, it still might help someone.
I've just encountered it and it was resolved by suppressing compiler warning. I've added @file:Suppress("INLINE_FROM_HIGHER_PLATFORM")
to affected file and it is compiling again.
Credits goes to:
https://youtrack.jetbrains.com/issue/KTIJ-20816/Bogus-error-Cannot-inline-bytecode-built-with-JVM-target-11-into-bytecode-that-is-being-built-with-JVM-target-1.8.#focus=Comments-27-7378342.0-0
I'm using the latest Android Studio Canary and KMM/KMP plugins. This won't compile and throws the following error.
I've tried to search for a solution and tried everything but nothing works.