Could not expand ZIP file - using .jar


(David) #1

Hi,

I am receiving the following error, when I try to Run / Build and App in Android Studio:

Error:Execution failed for task ‘:app:compileDebugJavaWithJavac’.

Could not expand ZIP ‘C:\Users\David\Desktop\NXP\AndroidDev\SDKTemplateApp\app\libs\nxpnfclib.jar’.

I am using Android Studio 2.1 (Stable Release) and Gradle Version 2.10.

Can you please help out?
I have tried it on my personal PC, on my bussiness laptop and my friend tried in Android Studio (Beta release), same error.
There was no change in library, the library worked well before. The error is sudden.

Thank you for help.
David


(David) #2

Temporary solution:

-> Revert gradle plugin to 2.0.0

But please guys provideu a real solution to this cause. It seems something is messing with the 2.1.0 gradle plugin.

David