Monday, December 29, 2014

Multi-dex support solves this problem. dx 1.8 already allows generating several dex files. Android L will support multi-dex natively, and next revision of support library is going to cover older releases back to API 4. It was stated in this Android Developers Backstage podcast episode by Anwar Ghuloum. I've posted a transcript (and general multi-dex explanation) of the relevant part. Update (10/17/2014): As anticipated, multidex support is shipped in revision 21 of Android Support Library. You can find the android-support-multidex.jar in /sdk/extras/android/support/multidex/library/libs folder. Update (10/31/2014) Gradle plugin v0.14.0 for Android adds support for Multi-Dex. To enable, you just have to declare it in build.gradle: android { Android Error: defaultConfig { ... multiDexEnabled = true } } Update (11/3/2014) Google finally released an official description.

Multi-dex support solves this problem. dx 1.8 already allows generating several dex files.
Android L will support multi-dex natively, and next revision of support library is going to cover older releases back to API 4.
It was stated in this Android Developers Backstage podcast episode by Anwar Ghuloum. I've posted a transcript (and general multi-dex explanation) of the relevant part.
Update (10/17/2014):
As anticipated, multidex support is shipped in revision 21 of Android Support Library. You can find the android-support-multidex.jar in /sdk/extras/android/support/multidex/library/libs folder.
Update (10/31/2014)
Gradle plugin v0.14.0 for Android adds support for Multi-Dex. To enable, you just have to declare it inbuild.gradle:
android {
   defaultConfig {
      ...
      multiDexEnabled = true
   }
}
Update (11/3/2014)
Google finally released an official description.

No comments:

Post a Comment