Qt quick Android application crash after few seconds
Unsolved
Mobile and Embedded
-
Hello, I'm building from Debian 9 amd64,
I successfully built the hello world qt quick application for android but when I run the app it shows the "hello world" text but it crash and the application output has:I art : Late-enabling -Xcheck:jni V Monotype: SetAppTypeFace- try to flip, app = org.qtproject.example.HelloWorldAndroid V Monotype: Typeface getFontPathFlipFont - systemFont = default#default V Monotype: SetAppTypeFace- try to flip, app = org.qtproject.example.HelloWorldAndroid V Monotype: Typeface getFontPathFlipFont - systemFont = default#default W System : ClassLoader referenced unknown path: V BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[]) V BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease() V BoostFramework: mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[]) V BoostFramework: mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String) V BoostFramework: mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop() V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@c5190ee V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@ef7698f I QtCore : Start W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Network.so: unused DT entry: type 0x1d arg 0x13f76 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Network.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Qml.so: unused DT entry: type 0x1d arg 0x39f24 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Qml.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Gui.so: unused DT entry: type 0x1d arg 0x55c5c W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Gui.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Quick.so: unused DT entry: type 0x1d arg 0x4a9e4 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5Quick.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x55d7 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libQt5QuickParticles.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unused DT entry: type 0x1d arg 0x8cd3 W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unsupported flags DT_FLAGS_1=0x81 I Qt : qt start W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1711 W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/app/org.qtproject.example.HelloWorldAndroid-1/lib/arm/libHelloWorldAndroid.so: unused DT entry: type 0x1d arg 0x6c4 D : (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment. D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BR.1.2.6_RB1.06.00.01.179.011_msm8916_64_refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.6_RB1.06.00.01.179.011__release_AU (Ia10634f51b) I Adreno-EGL: OpenGL ES Shader Compiler Version: XE031.06.00.05 I Adreno-EGL: Build Date: 02/23/16 Tue I Adreno-EGL: Local Branch: I Adreno-EGL: Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BR.1.2.6_RB1.06.00.01.179.011 I Adreno-EGL: Local Patches: NONE I Adreno-EGL: Reconstruct Branch: NOTHING I OpenGLRenderer: Initialized EGL, version 1.4 W Qt A11Y : Could not activate platform accessibility. W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4de W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unsupported flags DT_FLAGS_1=0x81 W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/qml/QtQuick/Window.2/libwindowplugin.so: unused DT entry: type 0x1d arg 0x4b2 W linker : /data/data/org.qtproject.example.HelloWorldAndroid/qt-reserved-files/qml/QtQuick/Window.2/libwindowplugin.so: unsupported flags DT_FLAGS_1=0x81 "org.qtproject.example.HelloWorldAndroid" died.
How to fix that?
Thanks. -
Can you get a backtrace in a debugger and post it here? Not much info in that log output unfortunately.