mapbox / mapbox/mapbox-maps-flutter
Error while debug my app after install and configure the mapbox-maps-flutter
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the mapbox-maps-flutter installation and configuration documentation, then inspect the Android Gradle dependency resolution reported for the :app:checkDebugAarMetadata task. Reproduce the 403 response for com.mapbox.maps:android:11.5.0 and determine the required configuration; the issue is done when the debug build resolves the dependency successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, dart, flutter
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100