Error when I add webview_flutter : Execution failed for task ':app:transformClassesWithMultidexlistForDebug'

Viewed 175

I am getting the following Error When I run the flutter project only after installed webview_flutter plugin.

 Execution failed for task ':app:transformClassesWithMultidexlistForDebug'
> com.android.build.api.transform.TransformException: Error while generating the main dex list.

I am already using firebase in the app. some searches saying this is the problem related to the firebase. Searches are giving following solutions. I have tried all of them. but still getting the same.

Migrating to Android X, Making multiDexEnabled true in android build.gradle,

0 Answers
Related