Reputation: 581
This is the error I am getting:
Error:Execution failed for task ':app:transformClassesWithPreJackPackagedLibrariesForDebug'.
> Failed to delete temporary file C:\Users\Jesse\AppData\Local\Temp\jill-1473722184552-0.jack
Gradle syncs, but no projects can be built. Similar error in every project.
I'm really not sure what I should do here. I reinstalled Android Studio, but that didn't resolve anything.
Upvotes: 4
Views: 1365
Reputation: 73
This post suggested that this error could be caused by Avira Antivirus. Disabling the realtime protection actually allowed me to compile my project without the error. The other suggestions did not work for me.
Upvotes: 2
Reputation: 581
I solved this by ensuring I delete all android SDKs and Gradle and completely uninstalling everything related to Android Studio, and reinstalling everything again.
Somehow that worked.
Upvotes: 2
Reputation: 391
Might be a simple solution. Did you try File/Invalidate Caches / Restart... ?
Upvotes: 3