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

hello there some problem with repository Jcenter this repasitory will be died in february, and if i remove this plugin gave this error #558

Open
MrKhakimov opened this issue Dec 13, 2021 · 4 comments

Comments

@MrKhakimov
Copy link

  • What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
  • Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

  • Could not find com.intentfilter:android-permissions:0.1.7.
  • Searched in the following locations:        
    
@Rc85
Copy link

Rc85 commented Jan 17, 2022

Having the same issue

@aricab
Copy link

aricab commented Jan 18, 2022

SAME!, pleaseee, move to mavenCentral()

@Rc85
Copy link

Rc85 commented Jan 29, 2022

Current workaround:

  1. Navigate to node_modules/@mauron85/react-native-background-geolocation/android and node_modules/@mauron85/react-native-background-geolocation/android/common
  2. Open build.gradle in each one and change jcenter() to mavenCentral()
  3. Open node_modules/@mauron85/react-native-background-geolocation/android/common/VERSIONS.gradle and change the group value of libs permission to io.github.niishkarsh
ext {
    ...
    libs = [
        ...
        permissions: [group: 'io.github.nishkarsh', name: 'android-permissions', version: '0.1.7'],
        ...
    ]
}

@hugows
Copy link

hugows commented May 4, 2022

Thanks Rc85 !

Warning to others, there is typo in the response above, on point 3: its nishkarsh, not niishkarsh!
(The gray box is the correct spelling!)

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

4 participants