-
-
Notifications
You must be signed in to change notification settings - Fork 109
Description
After removing jcenter() from build.gradle and replacing it with mavenCentral() im getting this warning in gradle sync:
Failed to resolve: com.tbruyelle.rxpermissions2:rxpermissions:0.9.1
Show in Project Structure dialog
Affected Modules: app
Then if i run the app i get the next error:
Execution failed for task ':app:checkDevDebugAarMetadata'.
> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
> Could not find com.tbruyelle.rxpermissions2:rxpermissions:0.9.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/tbruyelle/rxpermissions2/rxpermissions/0.9.1/rxpermissions-0.9.1.pom
- https://repo.maven.apache.org/maven2/com/tbruyelle/rxpermissions2/rxpermissions/0.9.1/rxpermissions-0.9.1.pom
- https://jitpack.io/com/tbruyelle/rxpermissions2/rxpermissions/0.9.1/rxpermissions-0.9.1.pom
Required by:
project :app > com.github.KingsMentor:MobileVisionBarcodeScanner:2.0.0
Possible solution:
- Declare repository providing the artifact, see the documentation at
https://docs.gradle.org/current/userguide/declaring_repositories.html
It's seems that this library it's still in jcenter() repository only.
jcenter() is going to no longer exist anymore and we are forced to use mavenCentral() repo now.
If there's a possibility of fixing this please let me know, cheers.