Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. java.lang.UnsatisfiedLinkError on Android 9 and 10
QtWS25 Last Chance

java.lang.UnsatisfiedLinkError on Android 9 and 10

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androidsdkcompatibility
3 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hitokage
    wrote on last edited by Hitokage
    #1

    Hey,
    after some struggle I managed to upgrade to QT 5.14 but I am still having problems with crashes on some devices. From Google Play Console I got reported this error:

    java.lang.UnsatisfiedLinkError: 
      at org.qtproject.qt5.android.QtNative.handleOrientationChanged (Native Method)
      at org.qtproject.qt5.android.QtActivityDelegate$4.onDisplayChanged (QtActivityDelegate.java:671)
      at android.hardware.display.DisplayManagerGlobal$DisplayListenerDelegate.handleMessage (DisplayManagerGlobal.java:1219)
      at android.os.Handler.dispatchMessage (Handler.java:106)
      at android.os.Looper.loop (Looper.java:214)
      at android.app.ActivityThread.main (ActivityThread.java:6986)
      at java.lang.reflect.Method.invoke (Native Method)
      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
      at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1445)
    

    From the statistics it happens on Android 9 and 10 only (while having reports from some people using Android 9 that the app is working fine on their device). The app also works in Android 10 emulator. I am using the QT Creator generated android files, didn't make any changes. Just added these bundle settings to avoid problems with language. In manifest I am targeting API 29, using newest build SDK 29 and 20.1 NDK.

    I am starting to run out of options what else to try. Anybody might have an idea about this? Is that a bug in QT?

    Thanks and have a nice day!

    UPDATE:
    Seems like the problem is generated AAB format. Probably related to this bug.

    1 Reply Last reply
    2
    • Quang PhuQ Offline
      Quang PhuQ Offline
      Quang Phu
      wrote on last edited by
      #2

      I face this issue too, any help???

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hitokage
        wrote on last edited by Hitokage
        #3

        Check out the bug report. The only solution so far is to upload APK instead of ABB.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved