Today I wanted to add OTR plugin to Android project and I've
encountered problem with dex methods limit of 65535. Sooner or later
we'll have to solve this issue if we want to add anything more to the
I tried searching net for solutions and there is an option of spliting
project into multiple .dex files and loading them at runtime.
The first thing that comes to mind is to separate Jitsi bundles from
/lib/bundles to second .dex. The bad thing is that we do packages
renaming and this may cause troubles. Here I've found a guide
explaining how to do this:
The guide says that dalvik class loader have to be used in order to
create object instances. I wonder much modifications have to be done
to make it work and if that's possible. What do you think ? Maybe it
will be possible to use this loader from Android OSGI implementation.