-
Notifications
You must be signed in to change notification settings - Fork 8
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
Failed to build when using 11.0.0 and MapBox Search 1.0.0-rc7 #171
Comments
I've had this issue in the past, whenever the two libraries use different versions of the com.mapbox.common library. Right now this is forcing me to use a maps version that is 6 months old. |
@eugenes78 Do we have any news on that? |
This is still an issue on Mapbox 11.1.0, we cannot upgrade Mapbox library. Any news on that @eugenes78 @DzmitryFomchyn ? |
Ditto. We'd love to start using Maps v11! |
For the records, this issue also affects Mapbox Navigation 2.18.0 |
Hello everyone, @mapbox-danny @eugenes78 could you please help with that? |
I spotted the following on the navigation lib: https://docs.mapbox.com/android/navigation/build-with-coreframework/migration-from-v2#maps-sdk Are we expecting the same change for the search lib in |
@eugenes78 any chance you could release a public alpha of this to facilitate the migration of the APIs already? |
2.0.0-beta.4 works with Maps v11. Please let me know if you hit any issues. |
For anyone looking at this in the future... Maps, Navigation, and Search rely on a common shared object. Your best bet is to find a version of the SDKs that you use that have a shared common version; this is done for you in the case that you're importing your Maps SDK as a dependency of the Navigation or Search SDKs. If you're explicitly overriding the Maps SDK; or trying to use Search and Navigation together you'll need to watch out for this. We usually publish the Common SDK version in the release notes, example But you can also find them in the repo's source code:
You'll get the best experience using stable versions that are released with the same Common version; as they're more or less built to be used together; but they should be ABI compatible through patch versions; just make sure you're picking the most recent version to make sure you're getting fixes from the patch. |
@dudeuter a Mapbox bill of materials would be nice to ensure compatible versions are used 🙏 |
Environment
Observed behavior and steps to reproduce
I am importing both libraries:
And I get the following error:
When commenting out the search library it builds successfully with no error.
Expected behavior
I would expect it to build with no issues.
Notes / preliminary analysis
Additional links and references
The text was updated successfully, but these errors were encountered: