5. Upgrade to Java 8
Since the SDK uses Java 8, you’ll also need to update to that version of Java to ensure compatibility. Add these lines to your module gradle.build
file.
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
Last updated
Was this helpful?