close
最近在寫 Google Map,直接 build 的時候遇到下列的錯誤訊息:
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536 |
上網查找問題後,確定只要在 config 中加入下列的資訊就不會有問題了:
multiDexEnabled = true |
全站熱搜
留言列表