Reputation: 10947
Any ideas what this error means?
When I try and run, npm run playground-android
, I get the error.
FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. java.io.IOException: Could not delete path 'C:\sites\ReactMatt\lower-your-drinking\android\app\build\generated\source\r\debug\org\webkit'.
Any ideas?
Upvotes: 4
Views: 21444
Reputation: 1
In your project,
cd android
./gradlew clean
Upvotes: -1
Reputation: 809
This works for me!
1) Navigate to android : cd android
2) Then run this command: ./gradlew clean
Upvotes: 0
Reputation: 380
I one had similar issues. Below is how I fixed it.
cd android //Navigate into the android folder from the root directory
./gradlew clean // Run this
I hope it helps
Upvotes: 16
Reputation: 338
I had this same problem but gradlew clean did not resolve issue until I removed the android and ios folders from my project and then used these commands;
good luck.
Upvotes: 0