Код: Выделить всё
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable > Duplicate class com.google.firebase.iid.FirebaseInstanceIdReceiver found in modules firebase-iid-20.1.5.aar -> jetified-firebase-iid-20.1.5-runtime (com.google.firebase:firebase-iid:20.1.5) and firebase-messaging-23.4.1.aar -> jetified-firebase-messaging-23.4.1-runtime (com.google.firebase:firebase-messaging:23.4.1) Go to the documentation to learn how to [url=d.android.com/r/tools/classpath-sync-errors]Fix dependency resolution errors[/url]. * 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 11s.
Код: Выделить всё
implementation ('com.google.firebase:firebase-messaging:23.4.1') {
exclude group: 'com.google.firebase', module: 'firebase-iid'
}
Подробнее здесь: https://stackoverflow.com/questions/787 ... act-native
Мобильная версия