mapbox / mapbox/mapbox-navigation-android

Android studio cannot access to MapboxRouteLineOptions

Open
#7,501 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 just installed the latest version of the package on Android Studio and started working on it. Everything was working fine until I tried to use the `MapboxRouteLineOptions`
When I tried to access it, I encountered the following message

```
Cannot access class 'com.mapbox.navigation.ui.maps.route.line.model.MapboxRouteLineOptions'. Check your module classpath for missing or conflicting
```
![Screenshot 2023-09-12 162052](https://github.com/mapbox/mapbox-navigation-android/assets/104386486/e219efa1-9943-409e-ba57-159b21d41b00)

**I am trying to complete this activity app like this link in official document** [Change Navigation View Options at runtime](https://docs.mapbox.com/android/navigation/examples/navigation-view-options/)

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 linked “Change Navigation View Options at runtime” example and the use of MapboxRouteLineOptions, then inspect the app's Android dependency and module classpath configuration. Reproduce the access error with the latest package version and confirm that the example compiles with MapboxRouteLineOptions available.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.