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

[Qt 5.10 beta2] QtQuickcontrols 'texteditor' fails to create main activity on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • None
    • 5.10.0 Beta 2, 5.10.0 Beta 3
    • Windows 10 (Android version 5.0) armv7
    • Android

    Description

      Steps to reproduce:

      1. Download and install the 5.10 beta2 installer
      2. Install Android armv7 binary
      3. Launch Qt Creator and run QtQuickcontrols example 'texteditor'

      Expected result:

      Example launches without errors

      Actual result:

      Example launches, but fails to create main activity and thus shows an empty screen on Android.

      I/ActivityManager( 569): Start proc org.qtproject.example.texteditor for activity org.qtproject.example.texteditor/org.qtproject.qt5.android.bindings.QtActivity: pid=10429 uid=10178 gids={50178, 9997, 3003, 1028, 1015} abi=armeabi-v7a
      I/art (10429): Late-enabling -Xcheck:jni
      E/Qt (10429): Can't create main activity
      E/Qt (10429): java.io.FileNotFoundException: --Added-by-androiddeployqt--/qml/QtQuick/Controls/Private/TableViewItemDelegateLoader.qml
      E/Qt (10429): at android.content.res.AssetManager.openAsset(Native Method)
      E/Qt (10429): at android.content.res.AssetManager.open(AssetManager.java:313)
      E/Qt (10429): at android.content.res.AssetManager.open(AssetManager.java:287)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtLoader.copyAsset(QtLoader.java:362)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtLoader.extractBundledPluginsAndImports(QtLoader.java:467)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:579)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:183)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
      E/Qt (10429): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
      E/Qt (10429): at android.app.Activity.performCreate(Activity.java:5933)
      E/Qt (10429): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
      E/Qt (10429): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
      E/Qt (10429): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)
      E/Qt (10429): at android.app.ActivityThread.access$800(ActivityThread.java:144)
      E/Qt (10429): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
      E/Qt (10429): at android.os.Handler.dispatchMessage(Handler.java:102)
      E/Qt (10429): at android.os.Looper.loop(Looper.java:135)
      E/Qt (10429): at android.app.ActivityThread.main(ActivityThread.java:5221)
      E/Qt (10429): at java.lang.reflect.Method.invoke(Native Method)
      E/Qt (10429): at java.lang.reflect.Method.invoke(Method.java:372)
      E/Qt (10429): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
      E/Qt (10429): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
      D/OpenGLRenderer(10429): Render dirty regions requested: true
      D/Atlas (10429): Validating map...
      I/Adreno-EGL(10429): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328
      I/OpenGLRenderer(10429): Initialized EGL, version 1.4
      D/OpenGLRenderer(10429): Enabling debug mode 0

      Tested with opensource and enterprise version and with OS X 10.11 (Android 7.1) and Ubuntu 16.04 (Android 6), and the issue only reproduced on Windows with Android 5.0 (both opensource and enterprise versions).

      Here's Application Output log from the (not reproducing) OS X 10.11:

      I zygote : Late-enabling -Xcheck:jni
      W System : ClassLoader referenced unknown path:
      I QtCore : Start
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5Qml.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5Quick.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5QuickParticles.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/app/org.qtproject.example.texteditor-KrlIb6YN_phJJUihTYKFHA==/lib/arm/libQt5RemoteObjects.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x81
      I Qt : qt start
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x81
      I zygote : Do partial code cache collection, code=30KB, data=26KB
      I zygote : After code cache collection, code=30KB, data=26KB
      I zygote : Increasing code cache capacity to 128KB
      I zygote : Do partial code cache collection, code=51KB, data=50KB
      I zygote : After code cache collection, code=51KB, data=50KB
      I zygote : Increasing code cache capacity to 256KB
      D : (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
      D OpenGLRenderer: HWUI GL Pipeline
      D NvOsDebugPrintf: NvRmPrivGetChipPlatform: Could not read platform information
      D NvOsDebugPrintf: Expected on kernels without fuse support, using silicon
      I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.tegra.so from the current namespace instead.
      I OpenGLRenderer: Initialized EGL, version 1.4
      D OpenGLRenderer: Swap behavior 2
      I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.tegra.so from the current namespace instead.
      I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/gralloc.tegra.so from the current namespace instead.
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/styles/libqandroidstyle.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/libqtquickcontrolsplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Layouts/libqquicklayoutsplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Dialogs/libdialogplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Window.2/libwindowplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Dialogs/Private/libdialogsprivateplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/Qt/labs/settings/libqmlsettingsplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqgif.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqicns.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqico.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqjpeg.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqtga.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqtiff.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqwbmp.so" has unsupported flags DT_FLAGS_1=0x81
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/plugins/imageformats/libqwebp.so" has unsupported flags DT_FLAGS_1=0x81
      W libtexteditor.so: (null):0 ((null)): Empty filename passed to function
      W linker : "/data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/libqtquickcontrolsandroidstyleplugin.so" has unsupported flags DT_FLAGS_1=0x81
      W libtexteditor.so: (null):0 ((null)): QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
      W libtexteditor.so: file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:106 ((null)): file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:106: TypeError: Cannot read property of null
      W libtexteditor.so: file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:107 ((null)): file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:107: TypeError: Cannot read property of null
      W libtexteditor.so: file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:108 ((null)): file:///data/data/org.qtproject.example.texteditor/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TableViewStyle.qml:108: TypeError: Cannot read property of null
      I zygote : Do full code cache collection, code=125KB, data=105KB
      I zygote : After code cache collection, code=117KB, data=85KB

       

      Attachments

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

        Activity

          People

            laknoll Lars Knoll
            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