This error means that there is something wrong with your ZIP file. It could be corrupted, incomplete or incompatible with your Android Studio version. Here are some possible solutions:
1- Change the Gradle version. You can find available versions here: https://services.gradle.org/distributions/. Make sure it is the bin version, for example: https://services.gradle.org/distributions/gradle-8.1-bin.zip. Then make sure to change the gradle-wrapper.properties
file accordingly.
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2- Delete the .gradle folder in your project directory and reimport the project. This will force Android Studio to download a fresh copy of Gradle.
C:\Users\moriz\.gradle\wrapper\dists
C:\Users\moriz\.gradle\wrapper\dists\gradle-8.0-bin\ca5e32bp14vu59qr306oxotwh
3- Check if you have any ZIP files in your project that could be causing the problem. For example, if you are using Bugsnag, you might need to update the Dexguard version or disable it temporarily.