-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[all] Flutter Android build fails with firebase dependencies. #17
Comments
This comment has been minimized.
This comment has been minimized.
I am facing it as well. It stops recognizing the GradleException inside of a build.gradle |
I had a similar error. Adding this at the bottom of android/app/build.gradle solved the problem temporarily for me, maybe it will work for you too:
|
Hey @erluxman, try changing let me know if it worked for you |
I tried that but I get this error
|
Did not work |
Yeah, I wasn't sure it'll work.
|
Did not help :( |
I have similar problem with firebase_auth. On line |
@erluxman
|
With same problem when import firebase_database and in Seems everything goes to normal. |
Cloned an old repo, and this really helped. |
Hi @erluxman |
|
Got the same issue:
Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception.
|
i have same issue i didnt help |
same problem bro |
It's all hit and trial until now, no real solution... |
My advice is to switch to https://appwrite.io/ |
i've wasted so much of my time😥 |
yea me too |
any updates here ? i have same problem nothing of above works edit: i search more and find sul down |
im find sulution work with me try goto android/setting.gradle on realy top add this tow liens
|
I have spent 3 days with 0 output |
me too |
Hey 👋 Our rework of the the FlutterFire plugins to depend on a shared 'core' (which controls the versions of the Firebase SDKs used on Android) as part of the FlutterFire roadmap was published over a week ago with a ton of fixes and new features. Please could you try the new versions and see if this is still an issue? Additionally the documentation site now covers Android installation, https://firebase.flutter.dev If this is still an issue then please submit a new up to date GitHub issue. For help migrating to the new plugins please see the new migration guide: https://firebase.flutter.dev/docs/migration |
I am using Android Studio 3.5 stable
java -version 1.8
and this is the issue :
I have project gradle like this :
App gradle like this :
& Pubspec.yaml like this :
My iOS builds runs well but my android build is failing with console output :
Flutter doctor has the following output (just listed android and android studio related ones):
The text was updated successfully, but these errors were encountered: