desi-programmer/flutter-firebase

Could not resolve com.google.firebase:firebase-bom:28.0.1.

Opened this issue · 2 comments

Hey,
I tried to build your notes app but this error appears.

AA

AAA

Bildschirmfoto 2021-05-28 um 3 21 21 PM

When I am not specifying the versions, the Code will not be up to date anymore and also give me errors.
Is there anyway to fix this?

Thanks a lot:)

Are you sure , you added the required repositories in gradle files.

 buildscript {
  repositories {
          google()
          jcenter()
      }

dependencies {
  classpath 'com.android.tools.build:gradle:<version>'
  classpath 'com.google.gms:google-services:<version>'
   }
}

allprojects {
     repositories {
              google()
             jcenter()
  }
}

task clean(type: Delete) {
  delete rootProject.buildDir
 }

restart android studio build gradle error will be thrown