-1
Android Studioで古いEclipseプロジェクトをインポートしました。プッシュ通知にGCMを使用しました。私はFirebaseを使ってこのプロジェクトを更新しようとしています。 Firebaseの依存関係をgradleに追加するだけで、いくつかの断片に問題があります。アプリは表示されず、このフラグメントも読み込まれます。Firebase Android SDKによりフラグメントのロードに問題が発生する
dependencies {
compile fileTree(include: '*.jar', dir: 'libs')
compile project(':wheel')
compile files('libs/zxing-2.1.jar')
compile files('libs/itextpdf-5.5.8.jar')
compile 'com.android.support:support-v4:21.0.3'
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.google.firebase:firebase-messaging:9.6.0' }
android {
compileSdkVersion 21
buildToolsVersion "21.0.2"
defaultConfig {
minSdkVersion 10
targetSdkVersion 15
}
apply plugin: 'com.google.gms.google-services'
コンパイル 'com.google.firebase:firebase-messaging:9.2.1' 場合によっては、この最新のライブラリでエラーが発生することがあります。 –
ありがとうございます;) – Rockers23
いいえ私はそれを行います – Rockers23