```Cannot inline bytecode built with JVM target 1....
# android
m
Copy code
Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
anyone dealt with this error before? I have specified target to 1.8 in gradle and also in kotlin compiler target...
stackoverflow 1
m
Add the following to the
android
closure of your module's
build.gradle
file:
Copy code
compileOptions {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }

    kotlinOptions {
        jvmTarget = "1.8"
    }
1