• QQ
  • nahooten@sina.com
  • 常州市九洲新世界花苑15-2

文章博客

Error converting bytecode to dex

原创内容,转载请注明原文网址:http://homeqin.cn/a/wenzhangboke/2019/0528/517.html

Error:Error converting bytecode to dex: Cause: com.android.dex.DexIndexOverflowException: Cannot mer

 

 

 

 

android studio 碰到题目:Error:Error converting bytecode to dex:

 

Cause: com.android.dex.DexIndexOverflowException: Cannot merge new index 66678 into a non-jumbo instruction!

 

办理方式

 

1.在主工程bulid.gradle 中dependncies中添加代码,分包配置

 

compile'com.android.support:multidex:1.0.0'

 

2.在defaultConfig节中配置multiDexEnabled标签为true,开启multi-dexing支持

 


上篇:上一篇:Java中split字符串
下篇:下一篇:Android简单实现百度舆图表现及定位