集成环信demo里面的类库之后,运行不了项目,提示\jdk1.8.0_20\bin\java.exe'' finished with non-zero exit value 2
1集成环信3.0中libs下的类库之后
提示
Q:Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_20\bin\java.exe'' finished with non-zero exit value 2
然后,我修改了gradle文件
defaultConfig {
multiDexEnabled true
}
现在的异常是:
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: android/support/v4/provider/TreeDocumentFile.class
提示
Q:Error:Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_20\bin\java.exe'' finished with non-zero exit value 2
然后,我修改了gradle文件
defaultConfig {
multiDexEnabled true
}
现在的异常是:
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
> java.util.zip.ZipException: duplicate entry: android/support/v4/provider/TreeDocumentFile.class
没有找到相关结果
已邀请:
1 个回复
[已注销]