mapbox / mapbox/mapbox-navigation-android

Could not resolve com.mapbox.navigationcore:copilot:3.0.2.

Open
#7,894 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

I cloned the repo and changed the TOKEN and got the following error:-

* What went wrong:
Execution failed for task ':app-preview:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app-preview:debugCompileClasspath'.
> Could not resolve com.mapbox.navigationcore:copilot:3.0.2.
Required by:
project :app-preview
> Could not resolve com.mapbox.navigationcore:copilot:3.0.2.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationcore/copilot/3.0.2/copilot-3.0.2.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationcore/copilot/3.0.2/copilot-3.0.2.pom'. Received status code 403 from server: Forbidden
> Could not resolve com.mapbox.navigationcore:android:3.0.2.
Required by:
project :app-preview
> Could not resolve com.mapbox.navigationcore:android:3.0.2.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationcore/android/3.0.2/android-3.0.2.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigationcore/android/3.0.2/android-3.0.2.pom'. Received status code 403 from server: Forbidden

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 with the :app-preview:dataBindingMergeDependencyArtifactsDebug failure and inspect how the Mapbox Maven URL is configured for com.mapbox.navigationcore:copilot and android 3.0.2. Check the repository's token setup against the reported 403 response; done means the dependencies resolve and the app-preview build proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.