-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 [cloud_firestore] FAILURE: Build failed with an exception #3971
Comments
Multidexing is needed. Please follow https://firebase.flutter.dev/docs/installation/android#installing-your-firebase-configuration-file under |
@dackers86 I added the lines to the code and tested it but the exception remains as it is. View commit here |
@chauhannaman98 Very strange! Could you please run Also confirm your |
@dackers86 I have added Also, I tried running Output
|
Could you try deleting your And try running |
@dackers86 I am afraid to say, it's still not working and gives the same output. :( |
@chauhannaman98 It appears to work as expected on my machine. I'm still trying to think of ideas, i'll need review your failure logs again. In the meantime, would cloning into a fresh folder on your machine provide a solution? |
@dackers86 I tried doing this and it's really strange that it's throwing exception again. Error message on flutter run -v
I am running my machine on Ubuntu 20.10 and Flutter installed using snap. Should I try reinstalling Flutter? |
I originally missed your Flutter Doctor report... [!] Android Studio You may need the following... |
@dackers86 Thank you for sharing me the link.
I read about this issue there and this problem was actually noticed after the last update. The fact is that the plugins are installed and updated to the latest version. This answer explains the issue. |
Bug report
Describe the bug
I tried implementing the firebase cloud_firestore in this commit. My flutter app was supposed to run successfully but it failed during the Gradle build with an exception.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the application to build successfully and app running normally on my emulator.
Actual behavior
Click To Expand
Flutter doctor
Click To Expand
Flutter dependencies
Click To Expand
The text was updated successfully, but these errors were encountered: