I was trying to start emulator
with the following command.
/home/shahrear/Android/Sdk/emulator/emulator -avd Pixel2_API_29 -no-window
But I was getting the following errors. Without the no-window
option it works fine but I need to start it in headless mode.
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
E1008 14:00:45.458379787 17283 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1602144045.458354128","description":"SO_REUSEPORT unavailable on compiling system","file":"/mnt/tmpfs/src/android/emu-master-dev/external/grpc/src/core/lib/iomgr/socket_utils_common_posix.cc","file_line":169}
and adb devices
showing offline