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. Android emulator cannot start
QtWS25 Last Chance

Android emulator cannot start

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 6.5k 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.
  • Z Offline
    Z Offline
    Zbigniew-Sch
    wrote on 2 Jan 2024, 19:04 last edited by
    #1

    Hi,
    I couldn't start the Android emulator from Qt Creator, then I tried to start it in the console and the following errors occurred:

    C:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator -list-avds
    AndroidEmulator

    C:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator @AndroidEmulator

    INFO | Android emulator version 33.1.24.0 (build_id 11237101) (CL:N/A)
    INFO | Found systemPath C:\Users\xxxxx\AppData\Local\Android\Sdk\system-images\android-31\google_apis\x86_64
    INFO | Storing crashdata in: , detection is enabled for process: 21192
    INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
    WARNING | Please update the emulator to one that supports the feature(s): Vulkan
    INFO | Increasing RAM size to 2048MB
    .................
    .................
    .................
    WARNING | Failed to process .ini file C:\Users\xxxxx.android\avd..\avd\AndroidEmulator.avd\quickbootChoice.ini for reading.
    ERROR | x86_64 emulation currently requires hardware acceleration!
    CPU acceleration status: Android Emulator hypervisor driver is not installed on this machine
    More info on configuring VM acceleration on Windows:
    https://developer.android.com/studio/run/emulator-acceleration#vm-windows
    General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.

    My configuration:

    1. Windows 10
    2. Qt 6.6.1
    3. Qt Creator 12.0.1
    4. Intel "HAXM" is installed
    5. AVD "AndroidEmulator" configuration:
      a) Type : Galaxy Nexus
      b) CPU Architecture : x86_64
      c) Operating system : Android 12.0 ("S") SDK (31)
      d) Android Targer-Flavor : Google APIs

    Thank you in advance for the help

    S 1 Reply Last reply 3 Jan 2024, 05:48
    0
    • Z Offline
      Z Offline
      Zbigniew-Sch
      wrote on 3 Jan 2024, 07:53 last edited by
      #4

      I found the solution, I activated “Hyper-V” in the Windows features and now I can start the Android emulator

      1 Reply Last reply
      1
      • Z Zbigniew-Sch
        2 Jan 2024, 19:04

        Hi,
        I couldn't start the Android emulator from Qt Creator, then I tried to start it in the console and the following errors occurred:

        C:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator -list-avds
        AndroidEmulator

        C:\Users\xxxxx\AppData\Local\Android\Sdk\emulator>emulator @AndroidEmulator

        INFO | Android emulator version 33.1.24.0 (build_id 11237101) (CL:N/A)
        INFO | Found systemPath C:\Users\xxxxx\AppData\Local\Android\Sdk\system-images\android-31\google_apis\x86_64
        INFO | Storing crashdata in: , detection is enabled for process: 21192
        INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
        WARNING | Please update the emulator to one that supports the feature(s): Vulkan
        INFO | Increasing RAM size to 2048MB
        .................
        .................
        .................
        WARNING | Failed to process .ini file C:\Users\xxxxx.android\avd..\avd\AndroidEmulator.avd\quickbootChoice.ini for reading.
        ERROR | x86_64 emulation currently requires hardware acceleration!
        CPU acceleration status: Android Emulator hypervisor driver is not installed on this machine
        More info on configuring VM acceleration on Windows:
        https://developer.android.com/studio/run/emulator-acceleration#vm-windows
        General information on acceleration: https://developer.android.com/studio/run/emulator-acceleration.

        My configuration:

        1. Windows 10
        2. Qt 6.6.1
        3. Qt Creator 12.0.1
        4. Intel "HAXM" is installed
        5. AVD "AndroidEmulator" configuration:
          a) Type : Galaxy Nexus
          b) CPU Architecture : x86_64
          c) Operating system : Android 12.0 ("S") SDK (31)
          d) Android Targer-Flavor : Google APIs

        Thank you in advance for the help

        S Offline
        S Offline
        sierdzio
        Moderators
        wrote on 3 Jan 2024, 05:48 last edited by
        #2

        @Zbigniew-Sch perhaps you need Hyper-V support and thus need a different driver?

        (Z(:^

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          Zbigniew-Sch
          wrote on 3 Jan 2024, 07:39 last edited by
          #3

          Where can I find it, on Google or on Qt?

          1 Reply Last reply
          0
          • Z Offline
            Z Offline
            Zbigniew-Sch
            wrote on 3 Jan 2024, 07:53 last edited by
            #4

            I found the solution, I activated “Hyper-V” in the Windows features and now I can start the Android emulator

            1 Reply Last reply
            1
            • Z Zbigniew-Sch has marked this topic as solved on 3 Jan 2024, 07:55

            4/4

            3 Jan 2024, 07:53

            • Login

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