mapbox / mapbox/mapbox-navigation-android

No cached version of com.mapbox.navigator:mapbox-navigation-native:7.0.0 available for offline mode. Disable Gradle 'offline mode' and sync project

Open
#4,786 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi support Team.

**No cached version of com.mapbox.navigator:mapbox-navigation-native:7.0.0 available for offline mode.
Disable Gradle 'offline mode' and sync project**

I keep getting this error after building the application

allprojects {
repositories {
google()
jcenter()
maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
mavenCentral()
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'] ?: ""
}

Even after hardcoding the token it still gives the same error.
Can anyone help me out ?

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

The issue provides only the Gradle repository configuration and the Mapbox Navigation Native dependency error; no source file or test is named. Start by reviewing the project’s Gradle dependency and offline-mode configuration, then reproduce the sync failure. Done means the dependency resolves successfully during project synchronization.

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
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.