Error while running the cloned app
anandgp opened this issue · 1 comments
"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
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!