Code Monkey home page Code Monkey logo

Comments (7)

dingdev88 avatar dingdev88 commented on July 18, 2024 2

implementation 'com.mapbox.maps:android:10.9.0'
implementation "com.mapbox.navigation:android:2.7.0"
implementation ("com.mapbox.search:mapbox-search-android:1.0.0-beta.39")

I am using these dependencies, but I am getting same error.

java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: androidx.startup.StartupException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN6mapbox6common13EventsServiceC1EONS0_20EventsServiceOptionsE" referenced by "/data/app/~~SJ1CEMouzZWsBNbKOrhYSg==/de.xxx.yyy.dev-xG9CxLRFRi1L74mF_Fbw8w==/base.apk!/lib/arm64-v8a/libmapbox-maps.so"...

I tried with 1.0.0-beta.38 which resulted in build issues due to a duplicated class MapboxCommonLogger.
Please update this. thanks.

from mapbox-search-android.

kalbaxa avatar kalbaxa commented on July 18, 2024 1

Or do you plan to address the issue i mentioned above?

We will re-consider this in 3 weeks, taking into account the amount effort that would be required to support both. I will let you know @cchierici.

from mapbox-search-android.

kalbaxa avatar kalbaxa commented on July 18, 2024

Hi Claus, thanks for reaching out!

We highly encourage you to update from the Legacy Maps SDK to the high-performant v10, and I totally understand it's a migration effort, but the Migration guide should help.

Other than that we are keeping consistency for our SDK to work with the most recent version of Search, Maps and Navigation SDKs, so our customers get access to latest features, best results, and performance.

We will add the compatibility compatibility note. This is a sound suggestion, thank you!

cc @cchierici @DzmitryFomchyn

from mapbox-search-android.

cchierici avatar cchierici commented on July 18, 2024

Thank you for your quick answer. This reads to me that search will not work properly with Mapbox v9.
Or do you plan to address the issue i mentioned above?

Kind regards

from mapbox-search-android.

DzmitryFomchyn avatar DzmitryFomchyn commented on July 18, 2024

@dingdev88 you're using quite an old version of the Navigation SDK https://github.com/mapbox/mapbox-navigation-android/releases/tag/v2.7.0

When picking Mapbox SDK dependencies, they all should have the same/compatible versions of the Common SDK. Common SDK versions used in Mapbox SDKs you can find in the release notes on github: Search, Maps, Navigation.

In your case you declared:

Try picking Navigation SDK 2.9.0-rc.1 or newer.

Let me know if it works for you.

from mapbox-search-android.

dingdev88 avatar dingdev88 commented on July 18, 2024

@DzmitryFomchyn
Thanks. It seems works.

from mapbox-search-android.

DzmitryFomchyn avatar DzmitryFomchyn commented on July 18, 2024

Ok, I'm closing this issue then. Feel free to reopen or create a new one if you have more questions!

from mapbox-search-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.