Multidex: Main Dex Capacity Exceeded With Multidex Enabled
I'm using a package I've included into my project that requires MultiDex, I've got 156561 references so I'll need multiple .dex files. However it fails, citing that the main dex fi
Solution 1:
Assuming you are using one of the latest versions of Xamarin.Android, you can try using the "new" Google D8 dex tool vs. using Proguard.
<PropertyGroup><AndroidDexTool>d8</AndroidDexTool><AndroidLinkTool>r8</AndroidLinkTool></PropertyGroup>
Detailed info on the various D8/R8 project configurations can be found in the Xamarin.Android repo here:
Post a Comment for "Multidex: Main Dex Capacity Exceeded With Multidex Enabled"