android - Failed to resolve: com.google.firebase:firebase-core:11.2.0 -


i'm getting multiple "failed resolve" issues when syncing project. firebase , play-services related. made sure same (11.2.0). i've checked , latest version both 11.2.0. also, other answers similar questions involve updating google play services , repository in sdk manager mine date.

enter image description here

enter image description here

any idea why can't sync project?

edit - current working solution

// top-level build file can add configuration options common sub-projects/modules.  buildscript {     repositories {         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:2.3.3'         classpath 'com.google.gms:google-services:3.0.0'         classpath 'com.google.firebase:firebase-plugins:1.0.4'          // note: not place application dependencies here; belong         // in individual module build.gradle files     } }  allprojects {     repositories {         jcenter()         maven { url "https://maven.google.com" }      } }  task clean(type: delete) {     delete rootproject.builddir } 

add maven { url "https://maven.google.com" } root level build.gradle file

allprojects {     repositories {         jcenter()         maven {             url "https://maven.google.com"         }     } } 

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -