# Congratulations, you have a lot of code!"Congratulations, you have a lot of code!" Remedying Android's method limit - Part 2

DevFeed: [Congratulations, you have a lot of code!"Congratulations, you have a lot of code!" Remedying Android's method limit - Part 2](<https://devfeed.tech/articles/congratulations-you-have-a-lot-of-code-congratulations-you-have-a-lot-of-code-remedying-android-s-method-limit-part-2-2015.md>)

Original publisher: [Read original article](<https://developers.soundcloud.com/blog//congratulations-you-have-a-lot-of-code-remedying-androids-method-limit-part-2>)

Published: 2015-10-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [SoundCloud Backstage Blog](<https://devfeed.tech/sources/soundcloud-backstage-blog.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [App](<https://devfeed.tech/topics/app.md>), [build times](<https://devfeed.tech/topics/build-times.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [build-times](<https://devfeed.tech/tags/build-times.md>), [code](<https://devfeed.tech/tags/code.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [production](<https://devfeed.tech/tags/production.md>)

## AI overview

The article explains using MultiDex to address Android's 65k method limit after reducing a single DEX file is no longer sufficient. It outlines how multiple DEX files work and the tradeoffs for pre-Lollipop devices using Dalvik, including added setup and slower builds.

## Source excerpt

In part one we described how running into Android's method limit may leave you unable to build, and offered strategies you can employ to make your app fit into a single DEX file. In this part we share an alternative option: using multiple DEX files.