Android, multidex, splitdex, subpackage plugin. The Gradle script was integrated into the plug-in, so that only one configuration file needs to be maintained. Readers can choose separate configuration or integrated configuration according to their own needs. In this way, we maintain the number of methods of the main Dex at about 15,000, and we no longer have to worry about the number of methods. Through the above official subcontracting, the original Dex has been divided into 1 master Dex and more slave Dex. The main Dex contains all 4 major components, Application, Annotation, multidex, etc. and their necessary direct dependencies. Since the number of our methods has reached 16W, hundreds of activities were all stuffed into the main Dex, and the main Dex was successfully exploded.