如题,我的as在运行时报了如下错误,我在gradle中加了**multiDexEnabled true**,但现在不能直接运行,打包时却又是正常的,程序出错也不知道是哪里,求大神解决
Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException: field ID not in [0, 0xffff]: 65536
http://www.cnblogs.com/yeahgis/p/4660873.html
使用方法分包技术,修改如下:
defaultConfig {
在defaultConfig中添加如下内容
multiDexEnabled = true
}
不能直接运行也要有个错误日志啊,