Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0 #1414

Open
ChinaVolvocars opened this issue Oct 29, 2021 · 2 comments
Open

Comments

@ChinaVolvocars
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':MapboxAndroidDemo:lintVitalGlobalRelease'.

Could not resolve all task dependencies for configuration ':MapboxAndroidDemo:globalReleaseRuntimeClasspath'.
Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
Required by:
project :MapboxAndroidDemo
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
Required by:
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-building-v9:0.7.0
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-localization-v9:0.12.0
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-traffic-v9:0.10.0
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-markerview-v9:0.4.0
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-scalebar-v9:0.5.0
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
Required by:
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-places-v9:0.12.0
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'. Received status code 403 from server: Forbidden
Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
Required by:
project :MapboxAndroidDemo > com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:0.9.0
> Could not resolve com.mapbox.mapboxsdk:mapbox-android-sdk:9.7.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.7.0/mapbox-android-sdk-9.7.0.pom'. 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

@ravenfeld
Copy link

I have the same problem, have you found a solution?

@pascal-hofmann
Copy link

You get HTTP 403 Forbidden. You need to pass correct credentials to access these resources.

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

No branches or pull requests

3 participants