Android 错误:(44,0)版本:4.0.4低于google services插件所需的最低版本(9.0.0)
我正尝试按照以下说明将firebase admin SDK添加到我的项目中: 但当我在build.grandle文件中添加Android 错误:(44,0)版本:4.0.4低于google services插件所需的最低版本(9.0.0),android,firebase,build.gradle,Android,Firebase,Build.gradle,我正尝试按照以下说明将firebase admin SDK添加到我的项目中: 但当我在build.grandle文件中添加编译'com.google.firebase:firebase admin:4.0.4'时,会出现以下错误: Error:(44, 0) Version: 4.0.4 is lower than the minimum version (9.0.0) required for google-services plugin. 如果我尝试4.0.3版,我会面临同样的问题 当前我
编译'com.google.firebase:firebase admin:4.0.4'
时,会出现以下错误:
Error:(44, 0) Version: 4.0.4 is lower than the minimum version (9.0.0) required for google-services plugin.
如果我尝试4.0.3版,我会面临同样的问题
当前我的build.grandle文件:
android {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
compileSdkVersion 25
buildToolsVersion "25.0.1"
defaultConfig {
applicationId "com.example.qrcodereader"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
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.google.android.gms:play-services-appindexing:9.0.0'
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.google.zxing:core:3.2.1'
compile 'com.google.firebase:firebase-admin:4.0.4'
compile 'com.journeyapps:zxing-android-embedded:3.2.0@aar'
compile 'com.android.support:gridlayout-v7:25.1.0'
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-database:10.0.1'
compile 'com.firebaseui:firebase-ui:1.1.0'
compile 'com.android.support:support-v4:25.1.0'
compile project(':linkedin-sdk')
testCompile 'junit:junit:4.12'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
}
apply plugin: 'com.google.gms.google-services'
感谢您的帮助:)您是否有意在移动设备上安装admin SDK?你应该在这里使用。AdminSDK是为服务器进程设计的。你好,加藤,非常感谢,我很困惑,但现在我明白了其中的区别。再次感谢