Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Failed to deploy Qt application on virtual android AVD device

Failed to deploy Qt application on virtual android AVD device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt5.5creatorandroiddeployavd
3 Posts 2 Posters 2.6k Views
  • 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.
  • zyendZ Offline
    zyendZ Offline
    zyend
    wrote on last edited by
    #1

    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
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by jsulm
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved