Comments (11)
I'm going to close this issues as there's no reply. It seems that the the reason is with SDK versions incompatibility. Mapbox SDKs are compatible only if used Common SDK versions are compatible by SEMVER rules. Used in the SDK Common SDK versions are specified in release notes:
- Search SDK https://github.com/mapbox/mapbox-search-android/releases
- Nav SDK https://github.com/mapbox/mapbox-navigation-android/releases
- Maps SDK https://github.com/mapbox/mapbox-maps-android/releases
Also, the reason might be similar to what's described in this issue mapbox/mapbox-maps-android#1173 (comment).
I tried to create a similar configuration in a small project, and everything worked correctly for me. Then I started trying again all the tips from the mapbox repositories to fix similar problems. And it looks like the problem was in the initialization order of the component. Perhaps the first time I did not apply this advice carefully enough, but the second time the problem was fixed.
As a result, as you wrote, the solution was to manage the initialization of the mapbox component manually.
(mapbox/mapbox-maps-android#1173 (comment))
from mapbox-search-android.
Hey @andrei-shevelev,
Mapbox Version: 10.5.0
Do you mean Mapbox Maps SDK here?
ANR android 12
The log you attached is not about ANR. Did you mean other crash in the title?
from mapbox-search-android.
Hey @andrei-shevelev,
Mapbox Version: 10.5.0
Do you mean Mapbox Maps SDK here?
ANR android 12
The log you attached is not about ANR. Did you mean other crash in the title?
Yes I meant Mapbox Maps SDK
That's right, it's not ANR, it's RuntimeException
from mapbox-search-android.
@andrei-shevelev,
Do you force any mapbox related libraries to a specific version? From the crash log it seems that the issue is in incompatibility of a common SDK that is used in both Search and Maps SDK.
Check Search SDK sample app https://github.com/mapbox/mapbox-search-android/tree/v1.0.0-beta.30, it uses Maps SDk 10.5.0. I'm curious if it works on your device.
from mapbox-search-android.
@andrei-shevelev,
Any updates here, do you still can see this crash? Waiting for the details.
from mapbox-search-android.
I'm going to close this issues as there's no reply.
It seems that the the reason is with SDK versions incompatibility. Mapbox SDKs are compatible only if used Common SDK versions are compatible by SEMVER rules. Used in the SDK Common SDK versions are specified in release notes:
- Search SDK https://github.com/mapbox/mapbox-search-android/releases
- Nav SDK https://github.com/mapbox/mapbox-navigation-android/releases
- Maps SDK https://github.com/mapbox/mapbox-maps-android/releases
Also, the reason might be similar to what's described in this issue mapbox/mapbox-maps-android#1173 (comment).
from mapbox-search-android.
@andrei-shevelev, Do you force any mapbox related libraries to a specific version? From the crash log it seems that the issue is in incompatibility of a common SDK that is used in both Search and Maps SDK.
Check Search SDK sample app https://github.com/mapbox/mapbox-search-android/tree/v1.0.0-beta.30, it uses Maps SDk 10.5.0. I'm curious if it works on your device.
In the sample application from this repository everything works correctly, I switched to different commits 1.0.0-beta.30...1.0.0-beta.32
We can also say that there is no deliberate downgrade or upgrade of mapbox libraries in our project. Although I tried to solve this problem this way, unsuccessfully.
from mapbox-search-android.
I'm going to close this issues as there's no reply. It seems that the the reason is with SDK versions incompatibility. Mapbox SDKs are compatible only if used Common SDK versions are compatible by SEMVER rules. Used in the SDK Common SDK versions are specified in release notes:
- Search SDK https://github.com/mapbox/mapbox-search-android/releases
- Nav SDK https://github.com/mapbox/mapbox-navigation-android/releases
- Maps SDK https://github.com/mapbox/mapbox-maps-android/releases
Also, the reason might be similar to what's described in this issue mapbox/mapbox-maps-android#1173 (comment).
I tried combinations of exactly compatible sdks from your example. The solution described in another issue was also tried.
Perhaps some configuration of our project makes it break, something in the compatibility of libraries. I'll let you know when I can reproduce this on some other example.
from mapbox-search-android.
Thanks for the reply!
It would be very helpful if you could create a minimum project that shows this error.
from mapbox-search-android.
Thank you, I think you can close the issue
from mapbox-search-android.
Thanks for checking!
from mapbox-search-android.
Related Issues (20)
- House/street address format based on country specific HOT 6
- MapBox Search panel like on IOS HOT 1
- Should be compatible to integrate with Modern UI (JetPack Compose) HOT 2
- Place Autocomplete 401 error: The feature is not enabled HOT 3
- Your app uses https://api.mapbox.com/geocoding/v5 to get recommendations after using AddressAutofill, somehow after integrating your modules in my project it uses https://api.mapbox.com/autofill because of that I can't get recommendations to search HOT 7
- Branch protection on main not adhering to best practices
- PR #160 merged without successful status checks (mapbox-search-android)
- Autofill not work until Number and char is filled HOT 1
- Crash in production: java.lang.UnsatisfiedLinkError: dlopen failed: library "libmapbox-common.so" not found HOT 5
- Loader not showing on second search in places auto complete activity HOT 1
- SDK is entirely unusable without location permission
- Failed to build when using 11.0.0 and MapBox Search 1.0.0-rc7 HOT 11
- PR #172 merged without successful status checks (mapbox-search-android)
- AddressAutofill suggestions is not working HOT 1
- SearchBox returns incorrect Data HOT 2
- Search result titles not visible in search results view HOT 2
- PR #192 merged without review (mapbox-search-android)
- PR #192 merged without successful status checks (mapbox-search-android)
- Favorite item not persisted between app sessions in SearchPlaceBottomSheetView
- Network data provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-search-android.