Create Multidex Application with Adobe Flash Builder

541 views Asked by At

I have an Actionscript Mobile project that I'm working on in flash builder 4.7 with quite a few ANEs included. The most recent one has pushed us over the 65k method reference limit. I can't find a way to properly include or implement the multidex support library with the app. Has anyone ever done this with flash builder before?

1

There are 1 answers

2
Henadzi Rabkin On

I would recommend to try dynamically load second dex file at application start and then load classes at runtime via Java-Reflection:

Take a look at these resources:

Be sure that after packaging AIR application your jar library is placed in assets folder. You can unzip apk in any case and check that it's located where it must be. Also, dex file must be named classes.dex.

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