FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> java.io.IOException: Can't write [/Users/admin/Documents/Tony Project/LOLC/Test/two news feed/HDMI/app/build/intermediates/multi-dex/debug/componentClasses.jar] (Can't read [/Users/admin/Documents/Tony Project/LOLC/Test/two news feed/HDMI/app/build/intermediates/transforms/desugar/debug/9.jar] (Duplicate zip entry [9.jar:android/support/v4/media/VolumeProviderCompat$ControlType.class]))
在我添加的module.gradle中 multiDexEnabled true 然后我收到此错误
答案 0 :(得分:-1)
您应该尝试清理并重建项目。
答案 1 :(得分:-1)
在local.properties
中添加org.gradle.jvmargs=-XX\:MaxHeapSize\=512m -Xmx512m
在build.gradle中设置multiDexEnabled = true