I use mapbox-gl (https://github.com/mapbox/mapbox-gl-native).
I built libmapbox-gl.so (arch armeabi-v7a) using make-android.
Test app in Android Studio works correctly.
Then in the Qt project tried to link this library in myproject.pro file:
Qt Code:
contains(ANDROID_TARGET_ARCH,armeabi-v7a) { ANDROID_EXTRA_LIBS = \ $$PWD/../Desktop/mapbox-gl-native/build/android-arm-v7/Release/lib.target/libmapbox-gl.so }To copy to clipboard, switch view to plain text mode
Project builds correctly. But when I try to run app on device, app crashes. I think, app can't find this library.
How to properly connect the library and what could be the problem?
Bookmarks