Android Studio Instant run not working using java 8 in android

Using java 8 to briefly express Lambda, etc., but the disadvantage is immediate launch. buildToolsVersion "23.0.3"

 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } 

how to enable instant start with java 8 functions

+6
source share
2 answers

From the official documentation:

Known Issues Instant Run is currently not working with Jack and will be disabled when using the new toolchain.

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

+9
source

Patience is a virtue. Java 1.8 support will be built in Android studio without the need for any configuration or external libraries in the near future (in a few weeks)

https://android-developers.googleblog.com/2017/03/future-of-java-8-language-feature.html

+4
source

All Articles