解決方法:
android/app/build.gradle
dependencies {
//implementation project(':react-native-push-notification')
compile (project(':react-native-push-notification')) {
exclude group: "com.google.android.gms", module: "play-services-gcm"
exclude group: "com.google.firebase", module: "firebase-messaging"
}
}