My project structure is as follows:
-app / (main module)
-module1 / (dependency for application /)
-module2 / (dependency for module 1 /)
After setting minifyenabled as true and when creating a signed APK, I get the following error:
Error: execution completed for task ': app: dexRelease'.
java.util.zip.ZipException: error opening zip file, timeout for connection to work). Reload dependencies and synchronization project (network required) Reload dependencies and synchronization project (network required)
Any normal debug or release build without minifyenabled is going fine. I already tried to remove the dependency and re-add, and also re-synchronize, but without a respite. Any idea on why this is happening? I am using android studio and gradle.
source share