Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. AVD Black screen issue
Qt 6.11 is out! See what's new in the release blog

AVD Black screen issue

Scheduled Pinned Locked Moved Solved QML and Qt Quick
4 Posts 2 Posters 174 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.
  • D Offline
    D Offline
    DSpUz
    wrote last edited by
    #1

    Hello fellow Qt Devs,

    I am experiencing some issues when loading the compiled programmes to Android Virtual Device. Sometimes the app gets loaded and runs but nothing is being rendered, only black screen is left.
    Since I installed support for Android development half-manually through downloading Java JDK and letting QtCreator download the rest, I wanted to ask if having Android Studio on the machine might help with this issue or not.
    When it has black screen i ttried to restart the computer , and one time it worked, other times it didnt. I also uninstalled Android and reinstalled and that helped, but only the issue still reemerged later.

    Cheers,
    DSU

    1 Reply Last reply
    0
    • Nils SjobergN Offline
      Nils SjobergN Offline
      Nils Sjoberg
      wrote last edited by
      #2

      Test on a real physical device or change the AVD graphics mode to Software GLES with Cold Boot,

      "What's up, Doc?"

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DSpUz
        wrote last edited by
        #3

        Is it possible to change the graphics mode in Preferences->Devices in Qt-Creator? Cause I remember there would be only "Start AVD, Stop AVD, and "Select Device" or something. Or do I need to switch it in config file from hw.gpu.mode=auto to hw.gpu.mode=software as Mr. Payrang(https://medium.com/@20x05zero/fixing-the-android-studio-emulator-black-screen-issue-when-cold-boot-fails-7657288f0ac7) suggests?

        1 Reply Last reply
        0
        • D DSpUz has marked this topic as solved
        • D Offline
          D Offline
          DSpUz
          wrote last edited by
          #4

          I want to add, that changing hw.gpu.mode=hardware seems to be not the same as hw.gpu.mode=Hardware - GLES 2.0, changing it to hardware seemed to solve the issue for some time, but today as it resurfaced i first tried Software - GLES 2.0 and it (at least for now) solved the issue, so i switched to Hardware - GLES 2.0 for seemingly better responsiveness(might be placebo though).

          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