-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.8.6 Throws exception (Cause: zip file is empty) when building with Android Studio #1683
Comments
Yes, 2.8.6 has some bugs in android. |
I am facing this in 2.8.5 also, Did someone find a solution for this? I am stuck on this for days now. |
Could you please try if this still occurs with the latest Gson version? Also try to update the build tools and plugins you are using. |
I am going to close this because no answer has been provided. If you still experience this with the latest Gson version, feel free to comment here again with more details. |
your details is enough, but nobody resolved |
@PVPliangzhen, what do you mean by that? Are you experiencing this issue? If so please mention which Gson version and build tools you are using (ideally try the latest versions), and if possible provide a small complete sample project for reproducing this. Just based on the details provided by the original reporter it is difficult to understand what is causing this and how it can be solved. Gson 2.8.6 had included the That is why I asked if this is actually still a problem with the latest Gson version and build tool versions, because most likely this has already been solved. |
Execution failed for task ':boss:transformClassesWithDexBuilderForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: zip file is empty
2.8.5 is ok
These are the relevant build information I checked, but I'm not sure if it's my problem
AGPBI: {"kind":"error","text":"Zip error while reading '/Users/xuejiewang/AndroidStudioProjects/QLife/package_name_XXX/XXX/build/intermediates/transforms/ajx/debug/**217.jar**': zip file is empty","sources":[{}],"tool":"D8"}
{ "name": "com.google.code.gson:gson:2.8.6_fb48d0051ec11deca68ca08fb0cdfb54", "index": 217, "scopes": ["EXTERNAL_LIBRARIES"], "types": ["CLASSES"], "format": "JAR", "present": true }
The text was updated successfully, but these errors were encountered: