title: > Task :app:checkDebugAarMetadata FAILED when run react-native run-android
body: <p>I have o change the mincompilesdkversion to 30 and then again to 29 now I am getting this error.</p>
  <p>A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.appcompat:appcompat:1.4.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\75e2de9081ba66388e83ea28d3fd2da1\appcompat-1.4.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.</p>
  <blockquote>
  <p>A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.appcompat:appcompat-resources:1.4.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\290cdab22c9c5b1b7c3f8650a9e9566d\jetified-appcompat-resources-1.4.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.emoji2:emoji2-views-helper:1.0.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\c885669bddbda30b297932769f58904c\jetified-emoji2-views-helper-1.0.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.emoji2:emoji2:1.0.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\078363885b7b4397f6f0ba1e544abc8e\jetified-emoji2-1.0.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.core:core:1.7.0-alpha01.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\805c250fb9ce03c9ddefabde06af7912\core-1.7.0-alpha01\META-INF\com\android\build\gradle\aar-metadata.properties.</p>
  </blockquote>
  <ul>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>BUILD FAILED in 8s</p>
  <p>error Failed to install the app. Make sure you have the Android development environment set up: <a href="https://reactnative.dev/docs/environment-setup" rel="noreferrer">https://reactnative.dev/docs/environment-setup</a>.
  Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Execution failed for task ':app:checkDebugAarMetadata'.</li>
  </ul>
  <blockquote>
  <p>Multiple task action failures occurred:
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.appcompat:appcompat:1.4.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\75e2de9081ba66388e83ea28d3fd2da1\appcompat-1.4.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.appcompat:appcompat-resources:1.4.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\290cdab22c9c5b1b7c3f8650a9e9566d\jetified-appcompat-resources-1.4.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.emoji2:emoji2-views-helper:1.0.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\c885669bddbda30b297932769f58904c\jetified-emoji2-views-helper-1.0.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.emoji2:emoji2:1.0.0-alpha03.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\078363885b7b4397f6f0ba1e544abc8e\jetified-emoji2-1.0.0-alpha03\META-INF\com\android\build\gradle\aar-metadata.properties.
  A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
  &gt; The minCompileSdk (30) specified in a
  dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
  is greater than this module's compileSdkVersion (android-29).
  Dependency: androidx.core:core:1.7.0-alpha01.
  AAR metadata file: C:\Users\dell.gradle\caches\transforms-2\files-2.1\805c250fb9ce03c9ddefabde06af7912\core-1.7.0-alpha01\META-INF\com\android\build\gradle\aar-metadata.properties.</p>
  </blockquote>
  <ul>
  <li><p>Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>