无法解决 - 编译' com.android.firebase:firebase-storage:9.0.0'

时间:2016-07-21 18:22:10

标签: android firebase

我遇到了这个错误:

Failed to resolve--compile 'com.android.firebase:firebase-storage:9.0.0'

以下是应用程序gradle文件:

申请插件:' com.android.application'

android {     compileSdkVersion 23     buildToolsVersion" 23.0.3"

defaultConfig {
    applicationId "com.kartik.barcode"
    minSdkVersion 15
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

依赖项{

compile fileTree(dir: 'libs', include: ['*.jar'])

testCompile 'junit:junit:4.12'

compile 'com.android.support:appcompat-v7:23.4.0'

compile 'com.journeyapps:zxing-android-embedded:3.0.2@aar'

compile 'com.google.zxing:core:3.2.0'

compile 'com.android.support:design:23.2.1'//for The edittext animation

compile 'com.google.firebase:firebase-database:9.0.0'//for firebase

compile 'com.google.firebase:firebase-auth:9.0.0'

compile 'com.android.firebase:firebase-storage:9.0.0'

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

Here is the SDK Tool Tab

1 个答案:

答案 0 :(得分:1)

变化:

compile 'com.android.firebase:firebase-storage:9.0.0'

为:

compile 'com.google.firebase:firebase-storage:9.0.0'