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

前端 未结 12 2008
独厮守ぢ
独厮守ぢ 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:08

    Try adding below code in build.gradle, it worked for me -

    compileSdkVersion 23
    buildToolsVersion '23.0.1'
    defaultConfig {
        multiDexEnabled true
    }
    

提交回复
热议问题