- What went wrong:
java.io.UncheckedIOException: Could not move temporary workspace (C:UsersSreyaDesktopsreyalove-knotandroid.gradle8.6dependencies-accessors423f0288fa7dffe069445ffa4b72952b4629a15a-a4bfdb9a-3a8e-40d1-895b-328f0f4c6181) to immutable location (C:UsersSreyaDesktopsreyalove-knotandroid.gradle8.6dependencies-accessors423f0288fa7dffe069445ffa4b72952b4629a15a)
i tried to clean gradle with .gradlew clean and also updraded gradle version but still didnt resolve
2
Answers
I have the same error, I try to update gradle to 8.7 but still not work. No fix for the moment, so I would recommanded you to go back to previous gradle version (8.3 or 8.4).
For change gradle version:
For more, you can check gradlew, gradlew.bat changes : https://react-native-community.github.io/upgrade-helper/?from=0.73.7&to=0.74.0
I install Jdk 17
I had the same error but after several hours I resolve it
I change gradle version:
change gradle wrapper properties : YourApp/android/gradle/wrapper/gradle-wrapper.properties : distributionUrl=https://services.gradle.org/distributions/gradle-8.3-all.zip
I first changed to gradle-8.6-all.zip it does not work the gradle-8.3-all.zip
work for me
For more, you can check gradlew, gradlew.bat changes : https://react-native-community.github.io/upgrade-helper/?from=0.73.7&to=0.74.0