注册

The number of method references in a .dex file cannot exceed 64K.

导入EaseUI报错
Error:The number of method references in a .dex file cannot exceed 64K.
Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
 
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.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'G:\dev\as\jre\bin\java.exe'' finished with non-zero exit value 2
 
 
如下解决方式都不行
compile 'com.android.support:multidex:1.0.1'
 
multiDexEnabled true
已邀请:

要回复问题请先登录注册