Flutter multidex problem With FirebaseAuth , Firestore and Google Sign in

后端 未结 2 2211
日久生厌
日久生厌 2020-12-16 20:26

Flutter application is working fine if i use only firestore. But as now i want to add Firebase Auth it is Causing problem And showing Dex error log

How can i use bo

2条回答
  •  庸人自扰
    2020-12-16 20:49

    In your app/build.gradle file inside your android folder , add this attribute multiDexEnabled.

             defaultConfig {
                    ...
                    multiDexEnabled true
                }
    

    Don't forget:

    flutter clean
    

提交回复
热议问题