Answers for "cannot inline bytecode built with jvmtarget 1.8"

4

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

android {
    ...
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8.toString()
    }
}
Posted by: Guest on July-03-2020
2

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

compileKotlin {
    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8
    }
}
Posted by: Guest on September-15-2020
0

cannot inline bytecode built with jvmtarget 1.8

In build.gradle app file

android{
.....

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = JavaVersion.VERSION_1_8.toString()
    }
    
    }
Posted by: Guest on May-01-2020

Code answers related to "cannot inline bytecode built with jvmtarget 1.8"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language