Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build fails for Android Studio

Tags:

android

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.

like image 677
McFiddlyWiddly Avatar asked Mar 11 '23 03:03

McFiddlyWiddly


2 Answers

Might be a simple solution. Did you try File/Invalidate Caches / Restart... ?

like image 130
DGarrett01 Avatar answered Mar 15 '23 04:03

DGarrett01


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.

like image 39
McFiddlyWiddly Avatar answered Mar 15 '23 03:03

McFiddlyWiddly