Qt Quick apps on Android



  • Hello

    I downloaded latest Qt 5.2.0 beta1 x86_64 for Android from the "link":http://download.qt-project.org/snapshots/qt/5.2/5.2.0-beta1/2013-10-21_107/

    I tried to run some of Qt examples(both Qt GUI & Quick apps) on my device(Android API 10) and on emulator(Android API 18)
    I build them for arm architecture
    Up to the moment I generally run GUI apps but not Quick apps(No app can succeeded)

    Below is log of last trial

    @D/SensorManager( 2937): ====>>>>>Num Sensor: 2
    D/SensorManager( 2937): ====>>>>>Num Sensor: 3
    D/SensorManager( 2937): ====>>>>>Num Sensor: 4
    D/SensorManager( 2937): ====>>>>>Num Sensor: 5
    D/SensorManager( 2937): ====>>>>>Num Sensor: 6
    D/SensorManager( 2937): ====>>>>>Num Sensor: 0
    I/Qt ( 2937): qt start
    I/Qt ( 2937): qt start
    W/dalvikvm( 2937): Unable to resolve superclass of Lorg/qtproject/qt5/android/multimedia/QtSurfaceTexture; (31)
    W/dalvikvm( 2937): Link of class 'Lorg/qtproject/qt5/android/multimedia/QtSurfaceTexture;' failed
    I/Qt ( 2937): Sensors start
    W/Qt ( 2937): kernel/qcoreapplication.cpp:420 (QCoreApplicationPrivate::QCoreApplicationPrivate(int&, char**, uint)): WARNING: QApplication was not created in the main() thread.
    W/dalvikvm( 2937): Unable to resolve superclass of Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate; (88)
    W/dalvikvm( 2937): Link of class 'Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate;' failed
    W/dalvikvm( 2937): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtNativeInputConnection'
    W/dalvikvm( 2937): dvmFindClassByName rejecting 'org/qtproject/qt5/android/QtExtractedText'@

    What is the problem?



  • I have a similar problem with this version of qt 5.2 : qt-windows-opensource-5.2.0-beta1-android-x86-win32-offline_2013-10-22_08-54-34-108.exe and a very basic qt quick example. The errors are:
    @
    W/dalvikvm( 9900): Unable to resolve superclass of Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1; (72)
    W/dalvikvm( 9900): Link of class 'Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;' failed
    E/dalvikvm( 9900): Could not find class 'org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate$1', referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.<init>
    W/dalvikvm( 9900): VFY: unable to resolve new-instance 172 (Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;) in Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate;
    D/dalvikvm( 9900): VFY: replacing opcode 0x22 at 0x000e
    I/dalvikvm( 9900): Could not find method android.view.accessibility.AccessibilityEvent.setSource, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getEventForVirtualViewId
    W/dalvikvm( 9900): VFY: unable to resolve virtual method 225: Landroid/view/accessibility/AccessibilityEvent;.setSource (Landroid/view/View;I)V
    D/dalvikvm( 9900): VFY: replacing opcode 0x6e at 0x0059
    I/dalvikvm( 9900): Could not find method android.view.accessibility.AccessibilityNodeInfo.isVisibleToUser, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getNodeForView
    W/dalvikvm( 9900): VFY: unable to resolve virtual method 236: Landroid/view/accessibility/AccessibilityNodeInfo;.isVisibleToUser ()Z
    D/dalvikvm( 9900): VFY: replacing opcode 0x6e at 0x004a
    I/dalvikvm( 9900): Could not find method android.view.accessibility.AccessibilityNodeInfo.setSource, referenced from method org.qtproject.qt5.android.accessibility.QtAccessibilityDelegate.getNodeForVirtualViewId
    W/dalvikvm( 9900): VFY: unable to resolve virtual method 246: Landroid/view/accessibility/AccessibilityNodeInfo;.setSource (Landroid/view/View;I)V
    D/dalvikvm( 9900): VFY: replacing opcode 0x6e at 0x0035
    W/dalvikvm( 9900): VFY: unable to find class referenced in signature (Landroid/view/accessibility/AccessibilityNodeProvider;)
    W/dalvikvm( 9900): Unable to resolve superclass of Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1; (72)
    W/dalvikvm( 9900): Link of class 'Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate$1;' failed
    D/dalvikvm( 9900): DexOpt: unable to opt direct call 0x0270 at 0x10 in Lorg/qtproject/qt5/android/accessibility/QtAccessibilityDelegate;.<init>
    W/Qt A11y ( 9900): Unknown exception: java.lang.reflect.InvocationTargetException
    W/Qt A11y ( 9900): Unknown exception: java.lang.reflect.InvocationTargetException
    @



  • I have the same problem. The latest working version was from 15.10



  • I am also getting this type of error "Unable to resolve superclass of Lorg .."
    I'm using the windows 5.2.0-rc1 android release of Qt.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.