Moving out of JCenter/Bintray
Hi y'all,
Don't you plan to move out from JCenter/Bintray?
https://www.jfrog.com/confluence/display/JFROG/JFrog+Bintray+Migration+Guide
Today, I am unable to build my app because the "location" plugin (4.3.0) still relies on a dependency hosted on bintray.
[+20614 ms] FAILURE: Build failed with an exception.
[ +1 ms] * What went wrong:
[ ] Could not determine the dependencies of task ':app:compileDevDebugJavaWithJavac'.
[ ] > Could not resolve all task dependencies for configuration ':app:devDebugCompileClasspath'.
[ ] > Could not resolve com.google.android.gms:play-services-location:16.+.
[ ] Required by:
[ ] project :app > project :location
[ ] > Failed to list versions for com.google.android.gms:play-services-location.
[ ] > Unable to load Maven meta-data from https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml.
[ ] > Could not get resource 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'.
[ ] > Could not GET 'https://google.bintray.com/exoplayer/com/google/android/gms/play-services-location/maven-metadata.xml'. Received status code 403 from server: Forbidden
[ ] * Try:
[ ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[ ] * Get more help at https://help.gradle.org
[ ] BUILD FAILED in 23s
[ +439 ms] Exception: Gradle task assembleDevDebug failed with exit code 1
It was working fine until yesterday.
Hi, I had the same issue. Does anyone know any workaround on this?
Could not determine the dependencies of task ':app:preDebugBuild'. Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not resolve com.google.android.gms:play-services-location:16.+. Required by: project :app > project :location
@datttran Since we couldn't wait, the workaround was to use another plugin:
https://pub.dev/packages/geolocator
https://stackoverflow.com/questions/66641552/could-not-resolve-com-google-android-gmsplay-services-location16
replacing Jcenter() with mavenCentral() works for me.
repositories { google() mavenCentral() // Add this jcenter() // remove this
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
still having this issue now, replaced jcenter with mavenCentral but no difference