## Install Amplify Libraries Add the following dependencies to your `pubspec.yaml` file and install dependencies when asked: ```yaml environment: sdk: ">=2.18.0 <4.0.0" flutter: ">=3.3.0" dependencies: flutter: sdk: flutter amplify_datastore: ^1.0.0-supports-only-mobile amplify_flutter: ^1.0.0 ``` ### Update The Android Project Open `build.gradle` located under `android/app`, and enable `coreLibraryDesugaringEnabled` in `compileOptions` to support the Java8 feature used in the DataStore plugin. ```groovy compileOptions { // add this line to support Java8 features coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } ``` Add the following dependency in `dependencies`. ```groovy dependencies { // add this line to support Java8 features coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" } ```