how to limit the first dex size while building android app by using multi-dex -


first,i face problem:

conversion dalvik format failed:unable toexecute dex: method id not in [0, 0xffff]: 65536 

so,i try division dex provided google.refer building apps on 65k methods

and unpack apk,it contains 2 dex file , first dex still large,cause apk cannot installed in android 2.3 cmd.

log:failure [install_failed_dexopt] android 2.3 linearalloc 5m. 

how app can install in android 2.3.

this limitation. cannot run mutidex app on device api older 14. full list of limitaions here.


Comments