mapbox / mapbox/mapbox-navigation-android

Received status code 403 from server: Forbidden

オープン
#4,635 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

archived
主要言語
Kotlin
スター
651
フォーク
321
PR マージ指標
30日以内にマージされた PR はありません

説明

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
`

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Gradle プロジェクトの設定と gradle.properties から始め、Mapbox Maven リポジトリで使用される MAPBOX_DOWNLOADS_TOKEN 認証情報に焦点を当てます。:app:assembleDebug を実行し、com.mapbox.navigation:ui:1.5.1 の解決を確認します。依存関係が 403 エラーなしで解決され、debug ビルドが進行すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, kotlin
領域
build-system, mobile
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。