-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration guide from 2.3.0 to 2.4.0 #775
Comments
Hi @michaburger, there shouldn't be any specific steps to migrate, could you check if you have authentication setup for Mapbox Maven repository in your grade files? |
Yes I do. Fact is, everything works perfectly with 2.3.0. The error only happens after upgrading to 2.4.0. Something must have changed regarding the tokens, what did you change exactly and what do I have to do? |
@michaburger We have lifted the authentication requirement for obtaining Maps SDK binaries, could you remove authentication from your maven setup and try again? |
Ok, I removed the authentication part from my build.gradle file:
Result is still the same, 2.3.0 still works fine. ` > Failed to transform android-core-11.8.0.aar (com.mapbox.maps:android-core:11.8.0) to match attributes {artifactType=android-aar-metadata, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
BUILD FAILED in 1m 5s |
I got error when trying to compile in Android with 2.4.1 version :( |
@michaburger where you able to resolve it? |
Could you check if #789 helps? |
Hi there, what do I have to do in order to migrate from 2.3.0 to 2.4.0? My app is working as of 2.3.0 and I am defining the access tokens in the gradle.properties file as well as with
MapboxOptions.setAccessToken()
. What has changed in 2.4.0 regarding the tokens? Now I get> Could not resolve com.mapbox.maps:android:11.8.0. Required by: project :app > Could not resolve com.mapbox.maps:android:11.8.0. > Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.8.0/android-11.8.0.pom'. > Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/11.8.0/android-11.8.0.pom'. Received status code 401 from server: Unauthorized > Could not resolve com.mapbox.maps:android:11.8.0.
The text was updated successfully, but these errors were encountered: