Santos-Enoque / complete_flutter_ecommerce

This repo will contain the backend code and the Ui of the flutter ecommerce app
676 stars 423 forks source link

Error while running the cloned app #7

Open anandgp opened 5 years ago

anandgp commented 5 years ago

"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 commented 4 years ago

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!