Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution failed for task ':app:transformClassesWithPreJackPackagedLibrariesForArmv7aDebug'

So I came across this problem when I am clicking the play button on Android Studio in order to deploy to my device and I cannot figure out how to solve this. Please see print shot attached: Gradle Message

I did take certain actions :

  1. Rebuild Project (Builds with no problem)
  2. Clean Project , (In this case it fails to clean the project)
  3. Ran gradlew clean on terminal (failed to clean) with message could not execute clean for ':app:clean'
  4. Make Project (no results)
  5. Invalidated Caches and Restarted.

None of those actions have taken effect!

Any ideas and solutions are welcome! Thanks in advance!

like image 427
AndroidKrayze Avatar asked Apr 16 '26 23:04

AndroidKrayze


1 Answers

I ran into problems similar to this after forcefully ending some builds which got my caches corrupted somehow.

I would also try to restart the computer and clean the Temp folder after that.

If a full restart is overkill, exit Android Studio, run a gradlew --stop to kill all the gradle daemons, and/or kill every java process. Then try to clear the Temp directory

If you're still in a weird state, delete the .gradle folder in your project folder (N.B .gradle, not gradle folder) and as a last resort also try to clear the contents of C:\Users\manos\.gradle\

like image 126
Mircea Nistor Avatar answered Apr 19 '26 15:04

Mircea Nistor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!