Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Failed to deploy Qt application on virtual android AVD device

    Mobile and Embedded
    qt5.5 creator android deploy avd
    2
    3
    2263
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zyend
      zyend last edited by

      Hi all,

      I'm desperatly trying to deploy a very basic "hello world" Qt app on an Android virtual device.
      I have downloaded Qt 5.5.1 all the latest versions of Java, Ant, Android SDK and NDK., Qt creator 4.0.
      I also followed the exact steps asd mentioned in Qt documentation.

      The "Compilation" step succeeded.
      As the "Deploy" steps starts, the AVD virtual device starts as well, the "AVOD for Nexus 6" screen appears.
      In the output I have the following:

      BUILD SUCCESSFUL
      Total time: 13 seconds
      Android package built successfully in 17.138 ms.
        -- File: C:/Dev/build-MyAndroidApp2-Android_for_x86_GCC_4_9_Qt_5_5_1-Debug/android-build//bin/QtApp-debug.apk
      10:30:00: Le processus "C:\Qt\5.5\android_x86\bin\androiddeployqt.exe" s'est terminé normalement.
      

      But the "Deplyoing" icon in Qt creator seems to be running still.
      In the Nexus emulator, nothing happens.
      Where am I supposed to see my Qt app in the Nexus ?

      After 2 minutes, in the console output of Qt Creator, I finally get the following:

      Erreur lors de la compilation/déploiement du projet MyAndroidApp2 (kit : Android for x86 (GCC 4.9, Qt 5.5.1))
      When executing step "Déployer sur périphérique Android"
      10:32:19: Temps écoulé : 02:38.
      
      

      I really don't understand what's happening.
      I just run out of ideas :)
      I tried to create the virtual device inside AND outside Qt creator, nothing changed.

      Any idea / suggestion ?

      Z.

      1 Reply Last reply Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        I'm not sure but isn't Nexus 6 an ARM based device and not x86?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • jsulm
          jsulm Lifetime Qt Champion last edited by jsulm

          It is: Qualcomm Snapdragon 805
          You should either create another virtual device with x86 CPU or use Qt for Android ARM.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply Reply Quote 0
          • First post
            Last post