Could not read path: \node_modules\@mauron85\react-native-background-geolocation\android\lib\build\intermediates\incremental\packageDebugResources\merged.dir\values
- Plugin version: latest
- Platform: Android
- OS version: Windows
- Device manufacturer and model: Android Samsung
Context
Every time I run react-native run-android I got this error
Task :@mauron85_react-native-background-geolocation:packageDebugResources FAILED Error: Cannot create directory \node_modules@mauron85\react-native-background-geolocation\android\lib\build\intermediates\incremental\packageDebugResources\merged.dir\values 5 actionable tasks: 2 executed, 3 up-to-date
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':@mauron85_react-native-background-geolocation:packageDebugResources'.
Could not read path '\node_modules@mauron85\react-native-background-geolocation\android\lib\build\intermediates\incremental\packageDebugResources\merged.dir\values'.
Expected Behavior
This should run without cleaning gradle
Actual Behavior
Task failed Could not read path
Possible Fix
Steps to Reproduce
- npx react-native run-android
-
-
-
Context
I have to clean gradle every time I run my project
Same problem, have you found a solution?