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 559 forks source link

Could not find ::. Required by: project :app #569

Open enriqueFcoG opened 2 years ago

enriqueFcoG commented 2 years ago

Your Environment

"@mauron85/react-native-background-geolocation": "^0.6.3" "react": "17.0.2", "node": "17.8.0" java 17.0.2

Context

i upgrade my project from react native 0.62.2 to 0.68.2 and I got. then I run my app on android emulator and I got this error

`Could not determine the dependencies of task ':app:mergeDebugAssets'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find ::. Required by: project :app`

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

  1. npm install @mauron85/react-native-background-geolocation
  2. manual setup
  3. run app on android device

Context

Debug logs

luismz95 commented 2 years ago

same issue.

Alipatel05 commented 2 years ago

Same issue I think the library hasn't been updated since long and that is causing problems

enriqueFcoG commented 2 years ago

Same issue I think the library hasn't been updated since long and that is causing problems

Yes, i had to change my react native versión to 0.67.1 and it works fine

Salmankhan033 commented 1 year ago

Same issues. Is there any updated library or methods that how to get the locations in background mode ?

chanphiromsok commented 1 year ago

Same issues.

Is there any updated library or methods that how to get the locations in background mode ?

might need commercial library call react-native-background-geolocation

Linuhusainnk commented 6 months ago

Same issue I think the library hasn't been updated since long and that is causing problems

Yes, i had to change my react native versión to 0.67.1 and it works fine

What about SDK versions?

zavex commented 1 week ago

Same error with: "react-native": "0.74.5",

> Configure project :react-native-reanimated
Android gradle plugin: 8.2.1
Gradle: 8.6

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
   > Could not find ::.
     Required by:
         project :app

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.