How to resolve java.util.zip.ZipException?

后端 未结 11 1159
执念已碎
执念已碎 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条回答
  •  -上瘾入骨i
    2020-11-27 06:13

    In my case the reason was Facebook Android SDK. Just exclude transitive dependency:

    compile('com.facebook.android:facebook-android-sdk:+') {
        exclude group: 'com.android.support', module: 'multidex'
    }
    

    In your case it can be some other dependency - just sort through them one by one and you'll find the one who has transitive multidex dependency.

提交回复
热议问题