Failed to resolve:

  • A+

I'm trying to add firebase cloud storage to my app. Below is the app build.gradle. But it says: Failed to resolve: Why? There is no firebase-core in the dependencies at all.

apply plugin: ''  android {     compileSdkVersion 27     defaultConfig {         applicationId "com.louise.udacity.mydict"         minSdkVersion 15         targetSdkVersion 27         versionCode 1         versionName "1.0"         testInstrumentationRunner ""     }     buildTypes {         release {             minifyEnabled false             proguardFiles getDefaultProguardFile('proguard-android.txt'), ''         }     } }  dependencies {     implementation fileTree(dir: 'libs', include: ['*.jar'])     implementation ''     implementation ''     implementation ''     implementation ''     testImplementation 'junit:junit:4.12'     androidTestImplementation ''     androidTestImplementation ''      implementation ''     implementation 'com.firebase:firebase-jobdispatcher:0.8.5' }  apply plugin: '' 


From the docs:

Your app gradle file now has to explicitly list as a dependency for Firebase services to work as expected.


 implementation '' 

and in top level gradle file use the latest version of google play services:

classpath ''


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: