Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-127486

Apps crash at start on Android devices with API levels 23-27

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P1: Critical P1: Critical
    • 6.8
    • 6.8.0 Beta2, 6.8.0 Beta3
    • QPA: Android
    • None
    • Android
    • 2024wk30s2FOQtforAndroid

      Have tried to run example app build with 6.8.0 beta2 on Android emulator with
      'system-images;android-23;google_apis;x86_64',
      'system-images;android-24;google_apis;x86_64',
      'system-images;android-26;google_apis;x86_64'
      'system-images;android-27;default;x86_64'
      also 'Nexus 5' physical device (with Android 6.0.1).
      App crushes at start, output similar for all devices:

      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example, PID: 5496
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "getentropy" referenced by "/data/app/org.qtproject.example-1/lib/arm/libQt6Core_armeabi-v7a.so"...
      

      There are no such crashes with Qt 6,7,2 (with same JDK 17, NDK r26b). Is it Qt 6.8 bug or there are known changes in Qt 6.8 which breaks compatibility?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtandroidteam Qt Android Team
            morte Maxim Bescherevnykh
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes