私はAndroidベースのアプリケーションでFirebaseリアルタイムのデータベースを使用しています。Firebaseリアルタイムデータベースに関する問題
Iは以下のようにdependecy使用した:内部
:(build.gradle :)
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.2.0'
compile 'com.android.support:design:25.0.0'
compile "com.google.firebase:firebase-auth:9.0.2"
//compile 'com.google.firebase:firebase-core:10.2.1'
//compile 'com.google.firebase:firebase-database:10.2.1'
testCompile 'junit:junit:4.12'
} するプラグインを適用する: 'com.google.gms.google-サービス'
そしてアプリケーションレベルのグラデルファイルの中で私は使った:
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
私はクラスses:DatabaseReference
およびFirebaseDatabase
。
しかし、どちらのクラスも見つかりませんでした。 依存関係はありませんか?
Pls。教えてください。ありがとう。
whoo ..ありがとうございます。 –
はい、5月17日9:55に解決済み –