debug – Erro React Native – Execution failed for task ‘:app:multiDexListDebug’

(base) elvis@Perbrass-MacBook-Pro Fale_Whatsapp_sem_numero % react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using “–no-jetifier” flag.
Jetifier found 1268 file(s) to forward-jetify. Using 8 workers…
info Starting JS server…

  • daemon not running; starting now at tcp:5037
  • daemon started successfully
    info Launching emulator…
    info Successfully launched emulator.
    info Installing the app…
    Starting a Gradle Daemon (subsequent builds will be faster)

Configure project :react-native-firebase_admob
:react-native-firebase_admob package.json found at /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-firebase/admob/package.json
:react-native-firebase_app package.json found at /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_admob:firebase.bom using default value: 25.12.0
:react-native-firebase_admob:ads.consent using default value: 1.0.6
:react-native-firebase_admob package.json found at /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-firebase/admob/package.json
:react-native-firebase_admob:version set from package.json: 7.6.9 (7,6,9 – 7006009)
:react-native-firebase_admob:android.compileSdk using custom value: 29
:react-native-firebase_admob:android.targetSdk using custom value: 29
:react-native-firebase_admob:android.minSdk using custom value: 16
:react-native-firebase_admob:reactNativeAndroidDir /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/react-native/android

Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_app:firebase.bom using default value: 25.12.0
:react-native-firebase_app:play.play-services-auth using default value: 18.1.0
:react-native-firebase_app package.json found at /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-firebase/app/package.json
:react-native-firebase_app:version set from package.json: 8.4.6 (8,4,6 – 8004006)
:react-native-firebase_app:android.compileSdk using custom value: 29
:react-native-firebase_app:android.targetSdk using custom value: 29
:react-native-firebase_app:android.minSdk using custom value: 16
:react-native-firebase_app:reactNativeAndroidDir /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/react-native/android

Task :app:multiDexListDebug FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
209 actionable tasks: 2 executed, 207 up-to-date
/Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-async-storage/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar: D8: Type com.reactnativecommunity.asyncstorage.AsyncStoragePackage is defined multiple times: /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-async-storage/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class, /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-community/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:multiDexListDebug’.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Error while merging dex archives:
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
Type com.reactnativecommunity.asyncstorage.AsyncStoragePackage is defined multiple times: /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-async-storage/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class, /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-community/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class

  • 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.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 9s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with –verbose flag for more details.
Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-async-storage/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar: D8: Type com.reactnativecommunity.asyncstorage.AsyncStoragePackage is defined multiple times: /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-async-storage/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class, /Users/perbras/Documents1/Pessoal/Projetos/Fale_no_Whatsapp_sem_o_numero/App/Fale_Whatsapp_sem_numero/node_modules/@react-native-community/async-storage/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar:com/reactnativecommunity/asyncstorage/AsyncStoragePackage.class
(base) elvis@Perbrass-MacBook-Pro Fale_Whatsapp_sem_numero %