How to resolve java.util.zip.ZipException?

后端 未结 11 1161
执念已碎
执念已碎 2020-11-27 05:37

Whever I try to debug and deploy my android application (in Android Studio 0.9) I get the following error:

Execution failed for task \':app:packageAllDebugCl         


        
11条回答
  •  时光取名叫无心
    2020-11-27 05:55

    I recently had this error, and after looking at my "External Libraries" in Android studio, it turns out one of my libraries had been included under two version numbers. (In this case it was wire-runtime 1.5.1 and 1.5.2).

    What I would recommend is to look inside "External Libraries" in your Project view, and see if there are any redundant libraries there. It includes transitive dependencies as well so you might find something there that surprises you.

提交回复
热议问题