完整的错误日志:

android studio method ID not in [0, 0xffff]: 65536

错误原因是:App中所引用的方法已经超过了最大数65536个方法! 

解决方法:

步骤一:

android studio method ID not in [0, 0xffff]: 65536

步骤二

android studio method ID not in [0, 0xffff]: 65536

步骤三

第一种 情况:app没有重写Application

android studio method ID not in [0, 0xffff]: 65536

第二种情况: 

App重写Application

android studio method ID not in [0, 0xffff]: 65536

参考 …/Android_SDK/docs/tools/building/multidex.html

相关文章: