Unable to execute dex: method ID not in [0, 0xffff]: 65536

前端 未结 12 2217
独厮守ぢ
独厮守ぢ 2020-11-21 18:48

I have seen various versions of the dex erros before, but this one is new. clean/restart etc won\'t help. Library projects seems intact and dependency seems to be linked cor

12条回答
  •  暖寄归人
    2020-11-21 19:18

    I've shared a sample project which solve this problem using custom_rules.xml build script and a few lines of code.

    I used it on my own project and it is runs flawless on 1M+ devices (from android-8 to the latest android-19). Hope it helps.

    https://github.com/mmin18/Dex65536

提交回复
热议问题