私のプロジェクトはうまく動作します。私はFCMをbuild.gradleに追加します。ここFirebaseクラウドメッセージング競合fb
Error:Error converting bytecode to dex:
Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzr;
私の依存関係のエラー:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.google.firebase:firebase-messaging:9.4.0'
...
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.facebook.android:audience-network-sdk:4.14.1'
}
長い時間のために検索した後は、私は、依存関係にあるいくつかのLIBSは違いバージョンと同じ依存関係を使用することがregconize。しかし、私はそれを修正する方法を知らない。何か案は?
ザッツあなたが –
を探してみましたが、あなたの 'ビルド>クリーンProject'でプロジェクトをクリーニングしてから再構築している場合は、マルチdex..don'tが知っている程度の検索何か? –
@qbix:クリーニングを試みましたが、ASを再起動して再起動しましたが、動作しません。 – maphongba008