MultiDex in flutter module

113 views
Skip to first unread message

gaurav yadav

unread,
Feb 5, 2021, 5:55:26 AM2/5/21
to Flutter Development (flutter-dev)
Hi all,

I have added a flutter module in our existing application and is somewhat working fine. Now after adding some more packages when I try to run the module standalone i.e without existing application I'm getting 'The number of method references in a .dex file cannot exceed 64K.' that is a multidex error anyone can see. If I run it together with my APP it is fine.

Now the issue how to implement the Multidex in flutter module so I can run it separately.

Thanks

Kelvin Vegilla

unread,
Feb 5, 2021, 6:03:38 AM2/5/21
to gaurav yadav, Flutter Development (flutter-dev)
Enable multidex in app build.gradle

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/b24b3c14-6561-47a9-a65c-c81c1fa6c21bn%40googlegroups.com.

gaurav yadav

unread,
Feb 5, 2021, 6:36:37 AM2/5/21
to Flutter Development (flutter-dev)
I can't do that it is flutter module not flutter project and build.gradle is in '.android' folder which is created while running that module. As I mention I want to run the module separately instead of running it with existing application.
Reply all
Reply to author
Forward
0 new messages