mauron85 / react-native-background-geolocation

Background and foreground geolocation plugin for React Native. Tracks user when app is running in background.
Apache License 2.0
1.33k stars 561 forks source link

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

Open bsor-dev opened 4 years ago

bsor-dev commented 4 years ago

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.

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
  2. -
  3. -
  4. -

Context

I have to clean gradle every time I run my project

SimoneSartoni commented 3 years ago

Same problem, have you found a solution?