mapbox / mapbox-navigation-android

Mapbox Navigation SDK for Android
https://docs.mapbox.com/android/navigation/overview/
Other
622 stars 318 forks source link

Received status code 403 from server: Forbidden #4635

Open josuelmm opened 3 years ago

josuelmm commented 3 years ago

Problem Received status code 403 from server: Forbidden

I have add maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' authentication { basic(BasicAuthentication) } credentials { // Do not change the username below. // This should always bemapbox(not your username). username = "mapbox" // Use the secret token you stored in gradle.properties as the password password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: "" } }

And have add

implementation "com.mapbox.navigation:ui:1.5.1"

This return

`Executing tasks: [:app:assembleDebug] in project D:\xampp\htdocs\ionic-mapbox-navigation\android

Configure project :app google-services.json not found, google-services plugin not applied. Push Notifications won't work

FAILURE: Build failed with an exception.

BUILD FAILED in 4s `

cafesilencio commented 3 years ago

@josuelmm Can you please tell me where you put the value for MAPBOX_DOWNLOADS_TOKEN for your project?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.