Skip to content
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

Error while running the cloned app #7

Open
anandgp opened this issue Sep 9, 2019 · 1 comment
Open

Error while running the cloned app #7

anandgp opened this issue Sep 9, 2019 · 1 comment

Comments

@anandgp
Copy link

anandgp commented Sep 9, 2019

"This version of cloud_firestore will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.
"

am getting this error warning message while running the app please suggest me a solution
@Santos-Enoque

@demola234
Copy link

To fix problems with Android X,
Add the following code to : android/gradle.properties
android.enableJetifier=true
android.useAndroidX=true

Click reflector and go to flutter and open android module which will launch your app in android studio module and download all the dependencies needed to build the app.
The go back to the flutter sdk and click reflector and Migrate to Android X.
This should solve your problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants