0
我已經安裝了反應原生條帶,並且出現此錯誤。但是當我安裝另一個軟件包時,它絕不會發生。然後這是我的build.gradle文件。多個dex文件定義了Lcom/google/android/gms/internal/zzaqp
的Android /應用/的build.gradle
dependencies {
compile project(':react-native-vector-icons')
compile project(':react-native-fetch-blob')
compile project(':react-native-image-picker')
compile project(':react-native-google-signin')
compile project(':react-native-fbsdk')
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile project(':react-native-vector-icons')
compile project(':tipsi-stripe')
compile 'com.google.firebase:firebase-core:+'
compile 'com.google.firebase:firebase-messaging:+'
compile(project(":react-native-google-signin"))
compile(project(':react-native-fbsdk')){
exclude(group: 'com.facebook.android', module: 'facebook-android-sdk')
exclude group: "com.google.android.gms"
}
compile 'com.google.android.gms:play-services-auth:9.2.1'
compile "com.facebook.android:facebook-android-sdk:4.22.1"
}
configurations.all {
resolutionStrategy {
force 'com.facebook.android:facebook-android-sdk:4.22.1'
}
}
上解決了先生現在我有另一個錯誤 **執行失敗的任務 ':應用程序:transformClassesWithDexForDebug' 。 > com.android.build.api.transform.TransformException:com.android.ide.common.process.ProcessException:java.util.concurrent.ExecutionException:java.lang.UnsupportedOperationException ** –
這將有助於詳細的錯誤。無論如何,這是一個單獨的問題。它與你的問題無關。你不妨考慮另外提一個問題 –