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
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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