-
-
Notifications
You must be signed in to change notification settings - Fork 138
Description
We are currently using the MultiDex library from Google to add the dynamically generated types (binding proxies) to the system ClassLoader. The support for the library however is discontinued as of Android 5.0+. Additionally, the library uses reflection to access private Array field, which might be different on different shells, provided by Hardware Vendors. For example we isolated a Samsung device on which MuliDex is failing.
The solution is to load the dynamic classes using DexClassLoader. The drawback with this approach is that the new classes are NOT visible to the system ClassLoader, which on its hand may lead to ClassNotFound exception when a dynamic type is attempted to be loaded by Android directly.
The above described problem however will not be present once we implement the AOT generation of binding proxies - #103.