-
Notifications
You must be signed in to change notification settings - Fork 28.1k
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
Flutter Cloud Firestore Plugin Issue on Android #27304
Comments
This issue is caused by the migration of the plugins to AndroidX. This comment explains what caused it and how you can resolve the issue: #27106 (comment) |
So doing a This made it work! |
This doesn't sound Flutter related, or is it? |
I think this is because if a Flutter project is opened at its root directory in Android Studio, the IDE doesn't actually pick up on any of the Android code enough to provide automated refactoring or edit gradle files. For the automatic refactoring to work the |
This issue has been moved to firebase/flutterfire#473. Any further collaboration will be done there. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
I can't build my Flutter app with the Cloud Firestore plugin for Android!
I followed the example here: https://www.youtube.com/watch?v=DqJ_KjFzL9I
This is a sample app that can not build for Android: https://github.com/dmilicic/flutter-firestore-issue
Pretty much the same issue as here but could not get it resolved by any means: #27128
I tried all kinds of version variations of dependencies with no positive result. The sample app has the Cloud Firestore plugin at version 0.9.0 which should the be latest at this time.
NOTE: It works fine for iOS.
Sample app's pubspec.yaml
Logs
flutter run --verbose
flutter analyize:
flutter doctor -v:
The text was updated successfully, but these errors were encountered: