java.lang.Object | |
↳ | android.support.multidex.MultiDex |
Monkey patches the application context class
loader
in order to load classes from more than one dex file. The primary
classes.dex
must contain the classes necessary for calling this
class methods. Secondary dex files named classes2.dex, classes3.dex... found
in the application apk will be added to the classloader after first call to
install(Context)
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Patches the application context class loader by appending extra dex files
loaded from the application apk.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Patches the application context class loader by appending extra dex files
loaded from the application apk. This method should be called in the
attachBaseContext of your Application
, see
MultiDexApplication
for more explanation and an example.
context | application context. |
---|
RuntimeException | if an error occurred preventing the classloader extension. |
---|