Failed to resolve: firebase-database-15.0.0

Sadi Khan 10/01/2018. 7 answers, 3.962 views
android android firebase firebase firebase-realtime-database build.gradle

connecting firebase real-time database with assistant when adding the dependencies of firebase database this error is showing:

Failed to resolve: firebase-database-15.0.0

this also happened with authentication

My android studio version 3.2 build September 18

enter image description here

7 Answers

Nishan Chathuranga 11/11/2018.


implementation ''

Add following lines and sync project.

implementation ''
implementation ''

Guy4444 12/03/2018.

There's an annoying bug in the new versions of Android Studio (I've seen versions 3.2.1 or higher on both Windows and Mac). if you integrate firebase automatically from tools, Thןד gives you an unwanted add-on that de-compile the program.

for example:

implementation ''

instead of:

implementation ''

Just drop the unnecessary extra after the ':'

Note that the example is for a database If you need something else substitute the word database in your library, for example ads.

enter image description here

Mohsen 10/01/2018.

Update your gradle in the root Build.gradle first:

classpath ''

Then use & update this in the app/Build.gradle dependencies:


I believe you're trying to download another non-exist dependency, that's why you get the error:

Failed to resolve: firebase-database-15.0.0


And here:

PHILL BOOTH 10/01/2018.

I get a issue like this sometimes, 1)restart the PC, or 2) delete C:\Users\.gradle and then restart the machine.

If you are using ionic then delete the .ionic as well.

Alex Mamo 10/01/2018.

You are getting the following error:

Failed to resolve: firebase-database-15.0.0

Because you are using a wrong dependency in your code. To solve this, please change the following line of code:

implementation ''


implementation ''

Because such a version 16.0.1:15.0.0 does not exist.

Please also add the following dependency which is now mandatory:

    implementation ''

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

In your top level build.gradle file please be sure to have the latest version of Google Service plugin:

classpath ''

Indra Bhurtel 11/16/2018.

You can update this in the app/Build Gradle dependencies:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation ''
    implementation ''
    implementation ''
    testImplementation 'junit:junit:4.12'
    androidTestImplementation ''
    androidTestImplementation ''
    implementation ''
apply plugin: ''

This must help you to get rid of the error!

Waliullah 11/11/2018.

I had this same problem. but now worked for me.Try This add the dependency for Authentication to your app-level build.gradle file.

implementation ''

When you click on add dependency this again ask you add the statement implementation '' So This button does not need to be triggered to authenticate the app. - Download Hi-Res Songs

1 Ariana Grande

7 Rings flac

Ariana Grande. 2019. Writer: Ariana Grande;Richard Rodgers;TBHits;Njomza;Michael "Mikey" Foster;Kaydence;Tayla Parx;Scootie;Oscar Hammerstein II;Victoria Monét.
2 Alan Walker

Lily flac

Alan Walker. 2018. Writer: Alan Walker;Lars Kristian Rosness;Magnus Bertelsen;K-391;Didrik Handlykken;Marcus Arnbekk.
3 Alec Benjamin

Let Me Down Slowly flac

Alec Benjamin. 2019. Writer: Alec Benjamin;Sir Nolan;Michael Pollack.
4 Alan Walker

Lost Control flac

Alan Walker. 2018. Writer: Alan Walker;Thomas Troelsen;Mood Melodies;Sorana;Fredrik Borch Olsen;Magnus "Magnify" Martinsen.
5 Skylar Grey

Everything I Need flac

Skylar Grey. 2018. Writer: Elliott Taylor;Rupert Gregson-Williams;Skylar Grey.
6 Post Malone

Sunflower flac

Post Malone. 2018. Writer: Carl Rosen;Louis Bell;Billy Walsh;Carter Lang;Swae Lee;Post Malone.
7 Westlife

Hello My Love flac

Westlife. 2019. Writer: Steve Mac;Ed Sheeran.
8 Alan Walker

Different World flac

Alan Walker. 2018. Writer: Shy Nodi;Alan Walker;Fredrik Borch Olsen;James Njie;Marcus Arnbekk;Gunnar Greve Pettersen;K-391;Corsak;Shy Martin;Magnus Bertelsen.
9 Sam Smith

Fire On Fire flac

Sam Smith. 2018. Writer: Steve Mac;Sam Smith.
10 Conor Maynard

Way Back Home (Sam Feldt Edit) flac

Conor Maynard. 2018. Writer: Ji Hye Lee;Shaun.
11 Normani

Dancing With A Stranger flac

Normani. 2019. Writer: Mikkel S. Eriksen;Tor Hermansen;Jimmy Napes;Normani;Sam Smith.
12 Slushii

Never Let You Go flac

Slushii. 2019. Writer: Sofía Reyes;Slushii;Aviella Winder.
13 Skrillex

Face My Fears flac

Skrillex. 2019. Writer: Poo Bear;Skrillex;Utada Hikaru.
14 Alora & Senii

Love U So flac

Alora & Senii. 2019. Writer: Alora & Senii.
15 The Chainsmokers

Hope flac

The Chainsmokers. 2018. Writer: Kate Morgan;Chris Lyon;Alex Pall;Andrew Taggart.
16 Imagine Dragons

Believer flac

Imagine Dragons. 2019. Writer: Dan Reynolds;Lil Wayne;Wayne Sermon;Ben McKee;Daniel Platzman;Robin Fredriksson;Mattias Larsson;Justin Tranter.
17 Alan Walker

I Don't Wanna Go flac

Alan Walker. 2018.
18 Mike Perry

Runaway flac

Mike Perry. 2019. Writer: Andreas Wiman;Dimitri Vangelis;Richard Müller;Sasha Rangas;Stefan Van Leijsen;Mike Perry.
19 Gesaffelstein

Lost In The Fire flac

Gesaffelstein. 2019. Writer: Ahmad Balshe;Nate Donmoyer;Gesaffelstein;DaHeala;The Weeknd.
20 Hozier

Almost (Sweet Music) flac

Hozier. 2019. Writer: Hozier.

Related questions

Hot questions


Popular Tags