Поэтому я пытаюсь запустить Android Virtual Device для тестирования моего проекта, но я получаю сообщение об ошибке ниже. я бегу
-gpu swiftshader
в командной строке, и я пробовал устройства с различными Android-API. Я также попытался запустить еще один пример проекта из Qt.io:
http://doc.qt.io/qt-5/qtquick-scenegraph-textureinsgnode-example.html
но продолжайте получать ту же ошибку. Есть идеи, как это исправить?
"org.qtproject.example.myproject" terminated.
Starting remote process.I art : Not late-enabling -Xcheck:jni (already on)
W System : ClassLoader referenced unknown path:
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Network.so: unused DT entry: type 0x1d arg 0x12df0
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Network.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Qml.so: unused DT entry: type 0x1d arg 0x335d6
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Qml.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Gui.so: unused DT entry: type 0x1d arg 0x52dd3
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Gui.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Quick.so: unused DT entry: type 0x1d arg 0x46138
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5Quick.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5QuickParticles.so: unused DT entry: type 0x1d arg 0x52e5
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libQt5QuickParticles.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/data/org.qtproject.example.myproject/qt-reserved-files/plugins/platforms/android/libqtforandroid.so: unused DT entry: type 0x1d arg 0x92aa
W linker : /data/data/org.qtproject.example.myproject/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.myproject/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unused DT entry: type 0x1d arg 0x16de
W linker : /data/data/org.qtproject.example.myproject/qt-reserved-files/plugins/bearer/libqandroidbearer.so: unsupported flags DT_FLAGS_1=0x81
W linker : /data/app/org.qtproject.example.myproject/lib/x86/libmyproject.so: unused DT entry: type 0xf arg 0xb749
D : (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment.
D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D : HostConnection::get() New Host Connection established 0xaa9aa170, tid 2503
D : HostConnection::get() New Host Connection established 0xae507330, tid 2520
I OpenGLRenderer: Initialized EGL, version 1.4
W linker : /data/data/org.qtproject.example.myproject/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd
W linker : /data/data/org.qtproject.example.myproject/qt-reserved-files/qml/QtQuick.2/libqtquick2plugin.so: unsupported flags DT_FLAGS_1=0x81
D : HostConnection::get() New Host Connection established 0xa089cbb0, tid 2521
E EGL_emulation: tid 2521: eglCreateContext(960): error 0x3004 (EGL_BAD_ATTRIBUTE)
W libmyproject.so: (null):0 ((null)): QEGLPlatformContext: Failed to create context: 3004
F libmyproject.so: (null):0 ((null)): Failed to create EGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::SwapBehavior(DoubleBuffer), swapInterval 1, profile QSurfaceFormat::OpenGLContextProfile(NoProfile))
F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2521 (QtThread)
Задача ещё не решена.
Других решений пока нет …