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
From offical documenataion:
Known Issues Instant Run does not currently work with Jack and will be disabled while using the new toolchain.