flutter-mapbox-gl / maps

A Mapbox GL flutter package for creating custom maps
Other
1.04k stars 503 forks source link

Could not determine artifacts for com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.2 #1381

Closed MatthewPeden closed 12 months ago

MatthewPeden commented 1 year ago
Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not determine artifacts for com.mapbox.mapboxsdk:mapbox-android-sdk:9.6.2
      > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.6.2/mapbox-android-sdk-9.6.2.aar'.
         > Could not HEAD 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/mapboxsdk/mapbox-android-sdk/9.6.2/mapbox-android-sdk-9.6.2.aar'. Received status code 401 from server: Unauthorized
MatthewPeden commented 12 months ago

Closing this issue, I did not have the access tokens set in windows environment variables, which is what was causing my issue.