Android IDE (AIDE) Support Forum

Generating too many dex files

When minSdkVersion is set above 19, the project will generate a large number of dex files, and even if the multidex is set, the software will also flash back.

1 Like

can me see the full gradle file?

If the dexes are all same size it can be a AIDE bug, sometimes this happens when the .dex is too big.

Did you try just delete them and recompile all?

1 Like

this is a bug, so I came to feedback to the bug area. All the dex files are small, they could have been combined into one dex file, because the number of methods is not over.