graphhopper-navigation-example-legacy icon indicating copy to clipboard operation
graphhopper-navigation-example-legacy copied to clipboard

mapbox_styleUrl not found

Open vlkpa opened this issue 4 years ago • 3 comments
trafficstars

I am able to compile this graphhopper navigation example but I got error when I want to customize it, any idea why?

\jetified-graphhopper-navigation-android-ui-0.1.0-SNAPSHOT\res\layout\navigation_view_layout.xml:10: AAPT: error: attribute mapbox_styleUrl (aka com.example.mobile.android:mapbox_styleUrl) not found.

vlkpa avatar Apr 29 '21 10:04 vlkpa

Also Map is not showing

maxmudovmustafa avatar Aug 17 '21 13:08 maxmudovmustafa

I am able to compile this graphhopper navigation example but I got error when I want to customize it, any idea why?

\jetified-graphhopper-navigation-android-ui-0.1.0-SNAPSHOT\res\layout\navigation_view_layout.xml:10: AAPT: error: attribute mapbox_styleUrl (aka com.example.mobile.android:mapbox_styleUrl) not found.

I found solution. Just remove the style in your project. Get style from MapBox sdk. I will work

maxmudovmustafa avatar Aug 31 '21 05:08 maxmudovmustafa

@maxmudovmustafa can you please provide more information about your solution? I have encountered the same error

yardenmsbit avatar Dec 18 '22 12:12 yardenmsbit