-
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
🐛 [cloud_firestore] Something Unexpected Occurred just after Installation #10932
Comments
@animesh27dev AGP 8.0 support was recently merged #10825, so can you switch to latest master and run your scenario again to see if you still get same error or not ? |
In my project: Current Gradle version installed is
|
I have temporarily fixed it by mentioning the previous versions
and a
But I want to know why this happens with the latest versions:
|
Since the error is pointing to |
Hey @animesh27dev. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @animesh27dev if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Bug report
Just after adding
cloud_firestore
inpubspec.yaml
file in a fresh new flutter project, the project is getting crashed. It shows during build as belowSteps to reproduce
Steps to reproduce the behavior:
flutter create demo
in my selected folder on Windowscd demo
flutter run
and its all good, running on my physical devicecloud_firestore
using the commandflutter pub add cloud_firestore
flutter clean
and thenflutter pub get
flutter run
and got the error as described aboveExpected behavior
I used the
cloud_firestore
package before but this type of issue I never faced. The problem is that when that previous project was developed I usedcloud_firestore:
in thepubspec.yaml
and recently I have modified some codes in my previous project. Then I tried to rebuild and I got the problem for the first time. I have checked for a fresh flutter project to understand if the problem was in my code or anything I have deleted accidentally there by mistake. But I recognize the issue is for all fresh flutter projects just after adding only thecloud_firestore
package or with bothfirebase_core
andcloud_firestore
with the latest version.Sample project
Providing a minimal example project which demonstrates the bug in isolation from your main App greatly enhances the chance of a timely fix.
Actually no need for any repository in my case.
I am explaining all the steps just above.
Additional context
No additional context yet I have to describe
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: