СБОЙ СБОРКИ приложения React native после установки @react-native-firebase /messaging

#react-native

#react-native

Вопрос:

Я пытаюсь добавить уведомления в свое приложение. Я установил @react-native-firebase / app: «^ 8.4.7», и все прошло гладко, но когда я пытаюсь установить @react-native-firebase / messaging: «^ 7.9.2» и запустить (npx react-native run-android) Я всегда получаю СБОЙ СБОРКИ.

 > Configure project :react-native-firebase_app
:react-native-firebase_app package.json found at C:UsersuserDesktopsatonode_modules@react- 
native-firebaseapppackage.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 C:UsersuserDesktopsatonode_modules@react- 
native-firebaseapppackage.json
:react-native-firebase_app:version set from package.json: 8.4.7 (8,4,7 - 8004007)
: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 C:UsersuserDesktopsatonode_modulesreact- 
nativeandroid

> Configure project :react-native-firebase_messaging
:react-native-firebase_messaging package.json found at 
C:UsersuserDesktopsatonode_modules@react-native-firebasemessagingpackage.json
:react-native-firebase_app package.json found at C:UsersuserDesktopsatonode_modules@react- 
native-firebaseapppackage.json
:react-native-firebase_messaging:firebase.bom using default value: 25.12.0
:react-native-firebase_messaging package.json found at 
C:UsersuserDesktopsatonode_modules@react-native-firebasemessagingpackage.json
:react-native-firebase_messaging:version set from package.json: 7.9.2 (7,9,2 - 7009002)
:react-native-firebase_messaging:android.compileSdk using custom value: 29
:react-native-firebase_messaging:android.targetSdk using custom value: 29
:react-native-firebase_messaging:android.minSdk using custom value: 16
:react-native-firebase_messaging:reactNativeAndroidDir C:UsersuserDesktopsatonode_modulesreact- 
nativeandroid

> Task :app:mergeDebugResources

> Task :app:mergeDebugResources 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
  

Комментарии:

1. попробуйте выполнить сборку в android studio и проверьте, какую ошибку вы получили в logcat

2. Спасибо, чувак, я нашел проблему, и эта ссылка помогла мне связать