Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not expand ZIP 'D:\test_tonghuasun\xinhuaexpress\app\build\intermediates\exploded-aar\xhs_v1.0.1-release\jars\classes.jar'.
最近在做项目的时,导入第三方夹包运行的时候出现了图片上的错误:找了一下资料才知道上当前Android Studio的编译版本过高:
我原先的编译版本的是:'com.android.tools.build:gradle:2.2.0'
降低之后的编译版本是: 'com.android.tools.build:gradle:2.0.0'
在运行就没有上没这个错误了。
备注:我的Android Studio版本是2.2,如果的你的Studio版本和我的不一样,就把你的编译版本降一级就好。