Kloar :
I'm pretty sure its a built in feature but I cant find anything when searching or in the docs. Is there a flag for building with multidex enabled?
On another note: Any way to see which libraries are messing with your method count? Hitting the 64k limit came as quite a surprise.
Kloar :
Found the answer somewhere else. It's no different than enabling it for any regular Android project.
android {
....
defaultConfig {
...
multiDexEnabled true
}
As for method count, this site does the trick: http://inloop.github.io/apk-method-count/
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=430650&siteId=1