Creating a Multidex Application Using Adobe Flash Builder

I have an Actionscript Mobile project that I am working on in flash composer 4.7 with lots of ANEs. The last one pushed us towards the 65k link limit. I cannot find a way to correctly include or implement the multidex support library with the application. Has anyone ever done this with a built in Flash constructor?

+3


source to share


1 answer


I would recommend trying to load the second dex file dynamically on application startup, and then load the classes at runtime via Java-Reflection :

Take a look at these resources:



Make sure that after packaging your AIR application, your jar is placed in the assets folder. You can unzip the apk anyway and check that it is where it should be. In addition, the dex file must be named classes.dex

.

* For Android 4.xx DexClassLoader can only read files with the .jar extension.

0


source







All Articles