Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gradle UncheckedIOException

My Android Studio project worked correctly, after restart project i got this error :

Caused by: org.gradle.api.UncheckedIOException: Failed to create directory 'C:\Users\Win\ .gradle\caches\transforms-2\files-2.1\32579628dbe4361d42479786c21faaed'

I did these things and the problem is not resolved:

  1. Invalidate caches / restart

  2. Clean / Rebuild

Extra info:

Android studio version: 3.4.1

compileSdkVersion: 29
minSdkVersion 21
targetSdkVersion 29

Anyone can resolve this problem ?

like image 818
MrNadimi Avatar asked Mar 18 '26 12:03

MrNadimi


1 Answers

Go to path C:\Users\Win\ .gradle\caches and manually delete this directory. Note that .gradle is a hidden folder.

like image 160
shizhen Avatar answered Mar 20 '26 02:03

shizhen



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!