So it is already known that the solution to this error:
com.android.dex.DexException: Too many classes in --main-dex-list, main dex capacity exceeded
Is to enable multidex support. I have done so, as well as applying proguard shrinking, but still get that error. Is there also a limit for multidex (presumably much higher than 64k)?
I am using several huge libraries, but it'd be nice to know the answer to this before somehow re-engineering everything to use fewer libraries. (I'm porting a desktop app to Android.)