Cant compile latest firebase core library

I have solve this issue by following these steps:

Configure Gradle's

build.Gradle(Project:{ProjectName})

classpath 'com.android.tools.build:gradle:2.3.1'

gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

Configure for Dependencies Error

  1. Open SDK Manager
  2. Select SDK Tools Tab
  3. Expand Support Repository
  4. Select Google Repository
  5. Update It, make sure you have version 54 and above, after update.

Just update the Google Repository.

  1. Go to SDK Manager
  2. Select Android SDK under Appearance and Behaviour
  3. Select SDK Tools
  4. Extract Support Repository and Update the Google Repository to 54.