Android Emulator broken
-
When I run my QML app on the Android emulator, it looks like this:
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.
-
This post is deleted!
-
This post is deleted!
-
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 -
Thanks! That solves the problem! And the link was just there on the AVD arguments page. Why didn't I find this myself.