Flutterfire: firebase_core_web not found. Please update settings.gradle.

Created on 19 Jun 2020  路  6Comments  路  Source: FirebaseExtended/flutterfire

Describe the bug
while running flutter , i am getting the below error

> Plugin project :firebase_core_web not found. Please update settings.gradle.
> Plugin project :cloud_firestore_web not found. Please update settings.gradle.

after i went through https://github.com/FirebaseExtended/flutterfire/issues/2599 , i updated the settings.gradle. Still am getting the same error .

auth core bug

Most helpful comment

This is easily reproducible with a fresh Flutter project (tested with 1.17.4), likely because of changes to the default settings.gradle.

  1. Run flutter create <name>.
  2. Go through instructions for adding Firebase to Android package
  3. Try flutter run

Result:

image

This error happens even with the addition of firebase_core only. Apparently it's a 4.3+ issue. The minSdkVersion makes no difference here.

The app does run, but this is probably indicative of an error somewhere. (Haven't tested to see if _calling_ any service actually works).

All 6 comments

Hi @AnandMG02
Are you running build? or run?
Can you please provide your flutter doctor -v your flutter run --verbose or flutter build apk --verbose
Thank you

Related https://github.com/FirebaseExtended/flutterfire/issues/2599#issuecomment-632651771

Try to target min android api to 21

Hi @luc-dotcom
Hi just tried to reproduce using target api 21

Screenshot 2020-06-19 at 8 46 32 PM

This is easily reproducible with a fresh Flutter project (tested with 1.17.4), likely because of changes to the default settings.gradle.

  1. Run flutter create <name>.
  2. Go through instructions for adding Firebase to Android package
  3. Try flutter run

Result:

image

This error happens even with the addition of firebase_core only. Apparently it's a 4.3+ issue. The minSdkVersion makes no difference here.

The app does run, but this is probably indicative of an error somewhere. (Haven't tested to see if _calling_ any service actually works).

Hey, as part of our on-going work for #2582, this should have been resolved in our Firebase Core rework (#2890) - which has now been merged into master. We'll look at publishing some prereleases in the next few days. Thank you

@Salakar has the issue been resolved now. Mine application cannot connect to firestore and gives the same error firebase_core_web not found

Was this page helpful?
0 / 5 - 0 ratings