Getting error running the project after installing the library
I want to use this library to location updates in background so i created a project and installed the library i used the command it the library has to link it and also used react-native link command to link it but i am getting error while starting the app
Your Environment
- Plugin version: latest
- Platform: Android
- OS version: Win10
- Device manufacturer and model:
- Running in Simulator: no
- React Native version: 0.68.2
Context
At first it is showing failed to install the app as the device environment but then i ran another project which worked perfectly so its not issue of the device or the environment
Expected Behavior
Code should run and app should be installed on my device( i am using physical device not a simulator )
Actual Behavior
Instead it is giving me this error
- What went wrong: Could not determine the dependencies of task ':app:mergeDebugAssets'.
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find com.intentfilter:android-permissions:0.1.7. Searched in the following locations:
- file:/D:/Practice/React-Native/RNBackgroundGeolocation/node_modules/react-native/android/com/intentfilter/android-permissions/0.1.7/android-permissions-0.1.7.pom
- file:/D:/Practice/React-Native/RNBackgroundGeolocation/node_modules/jsc-android/dist/com/intentfilter/android-permissions/0.1.7/android-permissions-0.1.7.pom
- https://repo.maven.apache.org/maven2/com/intentfilter/android-permissions/0.1.7/android-permissions-0.1.7.pom
- https://dl.google.com/dl/android/maven2/com/intentfilter/android-permissions/0.1.7/android-permissions-0.1.7.pom
- https://www.jitpack.io/com/intentfilter/android-permissions/0.1.7/android-permissions-0.1.7.pom Required by: project :app > project :mauron85_react-native-background-geolocation > project :@mauron85_react-native-background-geolocation-common
I am not sure how to fix it i have tried everything but nothing seems to work i have also added location permission to AndroidManifest.xml file but still getting the error
add this to your android/build.gradle
`allprojects {
repositories {
//add this line...
maven {url 'https://jcenter.bintray.com'}
}
}`
add this to your android/build.gradle
`allprojects {
repositories { //add this line... maven {url 'https://jcenter.bintray.com'} }}`
Not works for me. Any updates?
any update after 360 days
Any update?
any updates