Skip to content
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

Update to v1.2.0 #40

Closed
moiatto opened this issue Jan 13, 2023 · 6 comments
Closed

Update to v1.2.0 #40

moiatto opened this issue Jan 13, 2023 · 6 comments

Comments

@moiatto
Copy link

moiatto commented Jan 13, 2023

Sorry for my stupid question...

I'm using the v1.1.1 as described here:

Step 1. Add it in your root build.gradle at the end of repositories:

  allprojects {
    repositories {
      ...

      jcenter()   // for Maplibre Navigation SDK for Android v1.1.1

      maven { url 'https://jitpack.io' }
    }
  }
Step 2. Add the dependency

  implementation 'com.github.maplibre:maplibre-navigation-android:1.1.1

but if I change the implementation to v1.2.0 I get a lot of compile errors.

can you help me?

@boldtrn
Copy link
Collaborator

boldtrn commented Jan 13, 2023

What compiles errors do you see?

BTW: we are planning on releasing a new version soon.

@moiatto
Copy link
Author

moiatto commented Jan 13, 2023

After Sync Project with Gradle Files:

Int the "Build Windows":
Failed to resolve: com.github.maplibre:maplibre-navigation-android:1.2.0

@boldtrn
Copy link
Collaborator

boldtrn commented Jan 13, 2023

Ah yes, sorry, I mixed up the releases. Yes, 1.2.0 unfortunately did not land on jitpack, as there were build errors.

You can use this in the meantime if you want (this is a snapshot from main branch):

dependencies {
  implementation 'com.github.maplibre:maplibre-navigation-android:-SNAPSHOT'
}

@moiatto
Copy link
Author

moiatto commented Jan 13, 2023

I have tried now but it seems start to download no.2 files but after 2 seconds, same error:

Download maven-metadata.xml...
Download maplibre-navigation-android--SNAPSHOT.pom...

then
Failed to resolve: com.github.maplibre:maplibre-navigation-android:-SNAPSHOT

@boldtrn
Copy link
Collaborator

boldtrn commented Jan 13, 2023

You can see all available options on Jitpack, for example:

dependencies {
	        implementation 'com.github.maplibre:maplibre-navigation-android:cbd6e39439'
}

@moiatto
Copy link
Author

moiatto commented Jan 13, 2023

Perfect! This works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants