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:
  1. contains(ANDROID_TARGET_ARCH,armeabi-v7a)
  2. {
  4. $$PWD/../Desktop/mapbox-gl-native/build/android-arm-v7/Release/lib.target/libmapbox-gl.so
  5. }
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?