程序类型已存在:react-native

时间:2019-01-09 13:19:36

标签: react-native react-native-android react-native-fbsdk

我将Facebook身份验证集成在react-native中。我正在使用软件包:-react-native-fbsdk。我在Android Studio中收到错误消息。错误:

  

错误:程序类型已存在:com.facebook.AccessTokenTracker $ CurrentAccessTokenBroadcastReceiver

依赖项

dependencies {
implementation project(':react-native-fbsdk')
implementation project(':react-native-google-signin')
implementation project(':react-native-firebase')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+"  // From node_modules
implementation "com.google.android.gms:play-services-base:16.0.1"
implementation "com.google.firebase:firebase-core:16.0.6"
implementation "com.google.firebase:firebase-auth:16.1.0"
implementation 'com.facebook.android:facebook-android-sdk:4.33.0'
}

打包版本:

"react": "16.6.3",
"react-native": "0.57.8",
"react-native-debugger": "^1.1.0",
"react-native-fbsdk": "^0.8.0",
"react-native-firebase": "^5.2.0",
"react-native-google-signin": "^1.0.2"

0 个答案:

没有答案