How to resolve java.util.zip.ZipException?

后端 未结 11 1178
执念已碎
执念已碎 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 06:14

    Thread is a bit old, but I got this error too.

    My problem was that I used two different com.google.android.gms:play-services Versions in my gradle file.

    compile 'com.google.android.gms:play-services-gcm:7.5.0'
    compile 'com.google.android.gms:play-services-analytics:7.3.0' // WRONG!
    

    Make sure, that you always use same versions like:

    compile 'com.google.android.gms:play-services-gcm:7.5.0'
    compile 'com.google.android.gms:play-services-analytics:7.5.0'
    

提交回复
热议问题