Multi-Dex Support

Learn more about our recommendations using Multi-Dex with our SDK.

If you're using Multi-Dex and our SDK, we recommend updating your Multi-Dex configuration:

release {
    multiDexKeepProguard file('')

Then add to the following lines:

-keep class
-keep class

If you experience issues like Could not find class on devices running the Dalvik VM, you may expand the above rules to keep the necessary classes in the main dex file.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").