Androidstudio Gradle Build Proguard Duplicate Zip Entry Error
What went wrong: Execution failed for task ':proguardRelease'. java.io.IOException: Can't write [C:\Workspaces\Eclipse\Mixvid\build\intermedi ates\classes-proguard\release\classes.
Solution 1:
You can use gradle packageOptions
to exclude a class that has a duplicate.
android {
...
packagingOptions {
exclude 'org/apache/http/entity/mime/content/ByteArrayBody.class'
}
...
}
Post a Comment for "Androidstudio Gradle Build Proguard Duplicate Zip Entry Error"