Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native build failed while executing task > Path is not a readable directory

I used Windows Subsystem for Linux, maybe this is the problem? I will be glad of any help, I will provide the information you need.

> Task :app:processDebugResources FAILED
320 actionable tasks: 1 executed, 319 up-to-date

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Path 'C:\Users\Username\Desktop\react-native-app\node_modules\unimodules-sensors-interface\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory.
like image 909
Daniel Buterus Avatar asked Oct 27 '25 05:10

Daniel Buterus


1 Answers

Deleting the react-native-app\android\.gradle folder fixed the issue for me.

like image 85
andraaspar Avatar answered Oct 30 '25 01:10

andraaspar



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!