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

Fatal error when deploying to Android device

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P1: Critical
    • None
    • 5.12.0 Alpha
    • Extras: Android
    • Linux, Windows, macOS
    • Android

    Description

      Build succeeds, but when trying to deploy to a device it fails with:

       LOG 11:08:14
      I zygote : Late-enabling -Xcheck:jni
       LOG 11:08:14
      W System : ClassLoader referenced unknown path:
       LOG 11:08:14
      I QtCore : Start
       LOG 11:08:14
      W linker : "/data/app/org.qtproject.example.wiggly-jUGt-vpCsjJ88c2XGOmIiw==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x80
       LOG 11:08:14
      W linker : "/data/app/org.qtproject.example.wiggly-jUGt-vpCsjJ88c2XGOmIiw==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x80
       LOG 11:08:14
      W linker : "/data/app/org.qtproject.example.wiggly-jUGt-vpCsjJ88c2XGOmIiw==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x80
       LOG 11:08:14
      W linker : "/data/data/org.qtproject.example.wiggly/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x80
       LOG 11:08:14
      I Qt : qt started
       LOG 11:08:14
      W linker : "/data/data/org.qtproject.example.wiggly/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x80
       LOG 11:08:14
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
       LOG 11:08:14
      E AndroidRuntime: Process: org.qtproject.example.wiggly, PID: 6630
       LOG 11:08:14
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
       LOG 11:08:14
      E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:928)
       LOG 11:08:14
      E AndroidRuntime: at java.lang.System.load(System.java:1621)
       LOG 11:08:14
      E AndroidRuntime: at org.qtproject.qt5.android.QtNative$3.run(QtNative.java:217)
       LOG 11:08:14
      E AndroidRuntime: at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
       LOG 11:08:14
      E AndroidRuntime: at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
       LOG 11:08:14
      E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
       ERROR 11:08:34
      

      This error message is shown on Linux and macOS (both having ndk-r16b installed).

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              mipohjan Milla Pohjanheimo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes