Flutterfire: [firebase_auth_web] Failed to build app with firebase after update firebase_auth(0.15.2)

Created on 12 Dec 2019  路  7Comments  路  Source: FirebaseExtended/flutterfire

I upgraded Flutter to 1.13.0 and firebase_auth (0.15.2) to the latest versions, now I get this error message when I build my app:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:preDebugBuild'.
    > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.
    > Could not resolve project :firebase_auth_web.
    Required by:
    project :app > project :firebase_auth
    > Unable to find a matching configuration of project :firebase_auth_web: None of the consumable configurations have attributes.
    > Could not resolve project :firebase_core_web.
    Required by:
    project :app > project :firebase_core
    > Unable to find a matching configuration of project :firebase_core_web: None of the consumable configurations have attributes.
customer-response crowd bug

Most helpful comment

flutter pub cache repair did the magic for me. Build works now

All 7 comments

Take a look here: flutter/flutter#46807

I still get error for the latest version of firebase_auth_web and firebase_core_web

flutter pub cache repair did the magic for me. Build works now

Hi @Elvian-DissoLver
does the solution proposed by @draganjovanovic1 solve the issue?
thank you

I was facing the same issue and was only able to compile after switching to the beta branch of flutter. I'm assuming there may be a problem in the dev channel?

I am on master channel and it worked for me:

Doctor summary (to see all details, run flutter doctor -v):
[鉁揮 Flutter (Channel master, v1.13.1-pre.99, on Mac OS X 10.15.1 19B88, locale en-RS)

[鉁揮 Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[鉁揮 Xcode - develop for iOS and macOS (Xcode 11.2.1)
[鉁揮 Android Studio (version 3.5)
[鉁揮 VS Code (version 1.40.2)
[!] Connected device

Hi @Elvian-DissoLver
does the solution proposed by @draganjovanovic1 solve the issue?
thank you

OK it work, after upgrade flutter to (1.13.1)
Thankz for solve it

Was this page helpful?
0 / 5 - 0 ratings