Geofence编译错误

时间:2017-12-22 11:01:35

标签: java android android-geofence geofire

我在android studio中一直遇到这个错误我该怎么解决这个问题?

这是我的代码:

  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.3.1'
    compile 'com.h6ah4i.android.widget.verticalseekbar:verticalseekbar:0.7.2'
    compile 'com.google.firebase:geofire-android:2.1.2'
    compile 'com.google.firebase:firebase-database:10.2.0'
    compile 'com.google.android.gms:play-services:10.2.0'
    compile 'com.android.support.constraint:constraint-layout:1.0.2'
    //compile 'com.google.android.gms:play-services-maps:10.2.0'
    compile 'com.google.android.gms:play-services-maps:10.2.0'



    testCompile 'junit:junit:4.12'
}

申请插件:'com.google.gms.google-services'

    classpath 'com.android.tools.build:gradle:2.1.0'
    classpath 'com.google.gms:google-services:3.0.0'

错误是:

  

错误:(40,0)版本:2.1.2低于最低版本(9.0.0)   谷歌服务插件所需。打开   文件

0 个答案:

没有答案