React-native-push-notification 報錯:add tools:replace="android:appComponentFactory"

解決方法:

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"
        }
}

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章