This document discusses Android development using Java SE 8 features. It introduces Mohamed Taman, a Java Champion and mobile architect. The agenda includes why Java SE 8 is important, how Android supports Java 8, and a live demo of using Java 8 language features like lambda expressions in Android development.
16. UPDATE GRADLE PLUGIN
• Update the Android plugin to 2.4.0 (or higher), you can use latest Gradle v3.5.
• Add the following to your module’s build.gradle file
Mohamed Taman @_tamanm
android {
...
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
17. API VERSION, VM IMAGE, & TOOLS
• Update API to API level 24 or higher.
• minSdkVersion (24) is Noga Android N or higher should be installed.
• Intel x86 atom System image of Noga SDK.
• Latest build and platform tools v24.0.0+.
• Google Repository v24 or later.
• Intel x86 emulator accelerator (HAXM installer) latest version.
Mohamed Taman @_tamanm