dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.google.android.gms:play-services:6.1.71'
compile 'com.google.firebase:firebase-database:10.0.1'
}
错误:(30,0)版本:6.1.71低于google-services插件所需的最低版本(9.0.0)。
答案 0 :(得分:1)
just bump the version of play services to 10.0.1
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.google.android.gms:play-services:10.0.1'<---- change
compile 'com.google.firebase:firebase-database:10.0.1'
}