I am experiencing an issue where the Android emulator launched from Visual Studio Code does not open in the foreground. Instead, it consistently runs in the background, making it difficult to interact with or view the emulator window.
Then I try to click on it, to make it on foreground, but this happens:
I don’t know it is happening only on Mac, it will be helpful if anyone can suggest any fix for this issue.
I am not saying that my app is not running in emulator, app is running the emulator correctly but my emulator is always hided somewhere and I am unable to keep it on desktop.
2
Answers
The issue has been resolved by deleting and recreating the virtual devices within the Device Manager in Android Studio.
Deletion :
Recreation :
You can achieve this pretty easily by selecting the "Emulator Always on Top" option, in the hamburger (three dot) menu, of the emulator
A more detailed answer can be found here