Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error running the project after installing the library #570

Open
Alipatel05 opened this issue Jun 13, 2022 · 5 comments
Open

Getting error running the project after installing the library #570

Alipatel05 opened this issue Jun 13, 2022 · 5 comments

Comments

@Alipatel05
Copy link

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:

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

@enriqueFcoG
Copy link

enriqueFcoG commented Jun 16, 2022

add this to your android/build.gradle

`allprojects {

repositories {

   //add this line...
    maven {url 'https://jcenter.bintray.com'}

}

}`

@EmanueleAgo
Copy link

add this to your android/build.gradle

`allprojects {

repositories {

   //add this line...
    maven {url 'https://jcenter.bintray.com'}

}

}`

Not works for me. Any updates?

@huy-lv
Copy link

huy-lv commented Jul 4, 2023

any update after 360 days

@vish2595
Copy link

Any update?

@acarkaan
Copy link

any updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants