AVD Black screen issue
-
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 -
Test on a real physical device or change the AVD graphics mode to Software GLES with Cold Boot,
-
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?
-
D DSpUz has marked this topic as solved
-
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).