I tried to enable Java 8 in Android 3.0 Canary 2, but I get the error that Jack is needed for Java 8. But this annoucement https://developer.android.com/guide/platform/j8-jack.html says that jack is no longer needed for 3.0 preview version. What am i doing wrong.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}