How to resolve java.util.zip.ZipException?

后端 未结 11 1162
执念已碎
执念已碎 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:17

    1.update google play service

    2.add

    compile 'com.google.android.gms:play-services-fitness:8.1.0'
    compile 'com.google.android.gms:play-services-wearable:8.1.0'
    

    instead of compile 'com.google.android.gms:play-services:8.1.0'

    in build.gradle file.

    3.

    defaultConfig {
        multiDexEnabled true
    }
    
    dependencies {
        compile 'com.android.support:multidex:1.0.1'
    }
    

提交回复
热议问题