Update platform and tools via File > Settings > Appearance & Behavior > System Settings > Android SDK: from "SDK Platforms" tab add "Android 9.0 (Pie)" and from "SDK Tools" tab update "Android SDK Platform-Tools" to 28.0.1 and "Android SDK Tools" to 26.1.1
Changes:
Updates to Android Gradle Plugin 3.2.1, Gradle 4.6 (required AAPT2 fixes in two resource entries)
Updates the compile target to 28
Updates the discontinued support libraries to Jetpack (android.support. to androidx.)
Updates the Work Manager to the latest Version + required fixes
Fixes for Android 9 (permission for foreground Services + network security changes)
Prerequisites:
Changes: