私はこれらの依存関係を私のandroidプロジェクトで使用しています。Facebook Sdkのバージョンとサポート:appcompatバージョンの問題
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.4.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-auth:11.4.2'
compile 'com.facebook.android:facebook-android-sdk:4.27'
compile 'com.android.support:design:25.4.0'
compile "com.hanks:htextview-evaporate:0.1.1"
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.google.firebase:firebase-database:11.4.2'
testCompile 'junit:junit:4.12'
}
は、今の問題は
compile 'com.android.support:appcompat-v7:25.4.0'
それは、このような(すべてのライブラリのバージョンを更新した後)私に警告を表示されていることである。
すべてcom.android.supportライブラリなければなりません同じバージョンの 仕様を使用してください(ミキシングバージョンはランタイムクラッシュにつながる可能性があります)
Facebook Sdk Libを削除するとき。 compile 'com.facebook.android:facebook-android-sdk:4.27'
。
すべてはうまく動作しますが、明らかに私はそれが必要です。私は何をすれば誰が私を助けることができるのか分かりません。
エラー時にマウスをポイントすると、ホバー上にあるすべてのライブラリをコンパイルする必要があります。 – Priya
しかし、それに書かれているものは単なる「例」です。 –
それはちょうど例の言葉を与えない...それはコンパイルのためにあなたのgradleに含める必要があるあなたにもライブラリの名前を与えるでしょう。 – Priya