Amplify UI

Installation

Dependencies

Packages

Amplify UI Android requires Android API level 24 (Android 7.0) or above. The Amplify UI Android connected components are built using Jetpack Compose. You will need to update the app's build.gradle file as shown below to use Jetpack Compose.

  android {
      compileOptions {
          // Support for Java 8 features
          coreLibraryDesugaringEnabled true
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
      buildFeatures {
          compose true
      }
      composeOptions {
        kotlinCompilerExtensionVersion '1.2.0'
      }
  }
  
  dependencies {
      // Material3 dependency for theming the connected components
      implementation 'androidx.compose.material3:material3:1.1.0'
                          
      // Support for Java 8 features
      coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  }

Amplify open source software, documentation and community are supported by Amazon Web Services.

© 2024 Amazon Web Services, Inc. and its affiliates. All rights reserved. View the site terms and privacy policy.

Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.