react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Could not read path: \node_modules\@mauron85\react-native-background-geolocation\android\lib\build\intermediates\incremental\packageDebugResources\merged.dir\values

Open bsor-dev opened this issue 5 years ago • 1 comments

  • 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

  1. npx react-native run-android

Context

I have to clean gradle every time I run my project

bsor-dev avatar Jun 30 '20 02:06 bsor-dev

Same problem, have you found a solution?

SimoneSartoni avatar Nov 30 '20 17:11 SimoneSartoni