Amplify for Android is distributed as Apache Maven packages. In this section, you'll add the packages and other required directives to your build configuration. Under **Gradle Scripts**, open **build.gradle (Module :app)**. Add the following lines: ```groovy android { compileOptions { // Support for Java 8 features coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { // Amplify core dependency implementation 'com.amplifyframework:core:ANDROID_VERSION' // Support for Java 8 features coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' } ``` - Set `coreLibraryDesugaringEnabled`, `sourceCompatibility`, and `targetCompatibility` to allow your application to make use of Java 8 features like Lambda expressions - Add Amplify Core and Desugaring libraries to the `dependencies` block Run **Gradle Sync** Android Studio requires you to sync your project with your new configuration. To do this, click **Sync Now** in the notification bar above the file editor. ![Screenshot with an arrow pointing to the Sync Now button in the file's notification bar](/images/lib/getting-started/android/set-up-android-studio-sync-gradle.png) When complete, you will see *CONFIGURE SUCCESSFUL* in the output in the *Build* tab at the bottom of your screen. ![Shows Android studio gradle sync successful](/images/lib/getting-started/android/set-up-android-studio-configure-successful.png)