mapbox / mapbox/mapbox-navigation-android
Received status code 403 from server: Forbidden
Nessuno ha ancora preso questa issue.
- Lingua principale
- Kotlin
- Stelle
- 651
- Fork
- 321
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Problem Received status code 403 from server: Forbidden
I have add
`maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// Do not change the username below.
// This should always be `mapbox` (not your username).
username = "mapbox"
// Use the secret token you stored in gradle.properties as the password
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
}
}`
And have add
`implementation "com.mapbox.navigation:ui:1.5.1"`
This return
`Executing tasks: [:app:assembleDebug] in project D:\xampp\htdocs\ionic-mapbox-navigation\android
> Configure project :app
google-services.json not found, google-services plugin not applied. Push Notifications won't work
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve com.mapbox.navigation:ui:1.5.1.
Required by:
project :app
> Could not resolve com.mapbox.navigation:ui:1.5.1.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.5.1/ui-1.5.1.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.5.1/ui-1.5.1.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 4s
`
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dalla configurazione del progetto Gradle e da gradle.properties, concentrandoti sulle credenziali MAPBOX_DOWNLOADS_TOKEN utilizzate per il repository Maven di Mapbox. Esegui :app:assembleDebug e verifica la risoluzione di com.mapbox.navigation:ui:1.5.1. Il lavoro è completato quando la dipendenza viene risolta senza l’errore 403 e la build di debug procede.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, kotlin
- Ambito
- build-system, mobile
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100