androidandroid-studiojava-8android-instant-run

Android Studio Instant run not working using java 8 in android


Using java 8 for concise Lambda expression etc but downside is instant run not working. buildToolsVersion "23.0.3"

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

how to enable instant run with java 8 features


Solution

  • From offical documenataion:

    Known Issues Instant Run does not currently work with Jack and will be disabled while using the new toolchain.

    https://developer.android.com/preview/j8-jack.html