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 broken
Qt 6.11 is out! See what's new in the release blog

Android Emulator broken

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.2k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    Michel de Boer
    wrote on last edited by
    #1

    When I run my QML app on the Android emulator, it looks like this:

    Screenshot from 2025-03-05 14-15-54.png

    This if a Page with a black Rectangle as background with a rectangular Image (jpg) on it. All the screens I have seem to be broken up in triangular shapes. I am quite sure it somehow is due to settings in the emulator, as someone else downloaded my source code and could run it fine in the emulator.

    I have no idea what to look for to fix this. Any ideas?

    This is Qt6.8.2 on API 35. I had the problem already with older Qt versions and older API levels.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Valeriy Y.
      wrote on last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • V Offline
        V Offline
        Valeriy Y.
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • V Offline
          V Offline
          Valeriy Y.
          wrote on last edited by
          #4

          Hello Michel, just solved the issue for Qt6.9 on Ubuntu 24.04 by adding to AndroidEmulator startup args (AVD Arguments button):
          -gpu host.
          Source: https://developer.android.com/studio/run/emulator-acceleration#accel-graphics

          1 Reply Last reply
          1
          • M Offline
            M Offline
            Michel de Boer
            wrote on last edited by
            #5

            Thanks! That solves the problem! And the link was just there on the AVD arguments page. Why didn't I find this myself.

            1 Reply Last reply
            0
            • M Michel de Boer has marked this topic as solved on

            • Login

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