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

Error while debug my app after install and configure the mapbox-maps-flutter #643

Open
gellmesquita opened this issue Aug 7, 2024 · 3 comments

Comments

@gellmesquita
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not resolve com.mapbox.maps:android:11.5.0.
Required by:
project :app
> Could not resolve com.mapbox.maps:android:11.5.0.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.5.0/android-11.5.0.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.5.0/android-11.5.0.pom'. Received status code 403 from server: Forbidden

I follow the step of documentation and my account mapbox are in plan pay-as-go and a create my private access token and i checked all scope possible to don´t have any error of scope,

Scopes
styles:tiles
styles:read
fonts:read
datasets:read
vision:read
downloads:read
scopes:list
user:write
fonts:list
styles:download
datasets:list
tilesets:write
offline:read
map:read
uploads:read
fonts:write
styles:protect
datasets:write
offline:write
map:write
uploads:list
styles:write
tokens:read
tilesets:list
vision:download
user:read
uploads:write
styles:list
tokens:write
tilesets:read
navigation:download

all this scope are checked but a don´t why this error occurs.

@gellmesquita gellmesquita changed the title Error while devug my app after configure the mapbox Error while debug my app after instaall and configure the mapbox-maps-flutter Aug 7, 2024
@gellmesquita gellmesquita changed the title Error while debug my app after instaall and configure the mapbox-maps-flutter Error while debug my app after install and configure the mapbox-maps-flutter Aug 7, 2024
@SreehariCodewave
Copy link

Any update on this? I am also facing this issue

@gellmesquita
Copy link
Author

Any update on this? I am also facing this issue

Nothing, I got the same error

@SreehariCodewave
Copy link

@gellmesquita I resolved it by removing the url that I added while creating secret token.
image

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

2 participants