Here is how we can run AVD directly from terminal
emulator -list-avds
emulator @Pixel_3a_API_30_x86
But I want it to be detached so that I can close my terminal and have the emulator still running. I tried to run something like this:
emulator -d @Pixel_3a_API_30_x86
But I got an error. Can someone tell how can we do that?