mapbox / mapbox/mapbox-maps-flutter

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

Offen
#643 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Dart
Sterne
380
Forks
204
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Dokumentation zur Installation und Konfiguration von mapbox-maps-flutter und untersuche anschließend die für die Aufgabe :app:checkDebugAarMetadata gemeldete Auflösung der Android-Gradle-Abhängigkeit. Reproduziere die 403-Antwort für com.mapbox.maps:android:11.5.0 und ermittle die erforderliche Konfiguration; das Issue ist abgeschlossen, wenn der Debug-Build die Abhängigkeit erfolgreich auflöst.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, dart, flutter
Bereich
build-system, mobile-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.