mapbox / mapbox/mapbox-navigation-android
Received status code 403 from server: Forbidden
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Kotlin
- Estrellas
- 651
- Forks
- 321
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
`
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la configuración del proyecto Gradle y gradle.properties, centrándote en las credenciales MAPBOX_DOWNLOADS_TOKEN utilizadas para el repositorio Maven de Mapbox. Ejecuta :app:assembleDebug e inspecciona la resolución de com.mapbox.navigation:ui:1.5.1. Se considera terminado cuando la dependencia se resuelve sin el error 403 y la compilación de depuración continúa.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- android, kotlin
- Área
- build-system, mobile
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100