Android Multidex and the Dex Method Limit edit

Multidex by using MultiDexApplication directly

Use this option if you don’t need an Application subclass.

This is the simplest option, but this way you can’t provide your own Application subclass. If an Application subclass is needed, you will have to switch to one of the other options to do so.

For this option, simply specify the fully-qualified class name android.support.multidex.MultiDexApplication for the android:name property of the application tag in the AndroidManifest.xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.multidex.myapplication">
    <application
        ...
        android:name="android.support.multidex.MultiDexApplication">
        ...
    </application>
</manifest>

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Table Of Contents
39 ACRA
62 Multidex and the Dex Method Limit
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close