mapbox / mapbox/mapbox-maps-flutter

Bug(android): Missing Plugin for 11.4.0

Open
#580 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

When upgrading to 2.0 and running the build for Android I receive


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.4.0.
     Required by:
         project :app > project :mapbox_maps_flutter
      > Could not resolve com.mapbox.maps:android:11.4.0.
         > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.4.0/android-11.4.0.pom'.
            > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.4.0/android-11.4.0.pom'. Received status code 403 from server: Forbidden
      > Could not resolve com.mapbox.maps:android:11.4.0.
         > Could not get resource 'https://api.mapbox.com/downloads/v2/snapshots/maven/com/mapbox/maps/android/11.4.0/android-11.4.0.pom'.
            > Could not GET 'https://api.mapbox.com/downloads/v2/snapshots/maven/com/mapbox/maps/android/11.4.0/android-11.4.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

BUILD FAILED in 1m 44s
[!] Gradle threw an error while downloading artifacts from the network.

Is there something I can do to get around this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Android build and tracing Gradle resolution for com.mapbox.maps:android:11.4.0 at the Mapbox Maven URLs shown in the error. Done means the dependency resolves without a 403 and the Android build completes; no repository file or test is identified in the issue.

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
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.