Fix Android Studio AVD freezing at launch in Arch Linux

Arch linux Jun 03, 2020

#Problem

I created a new AVD with the following specs + the default hardware options:

  • Device: Pixel 2
  • Android Version: 9.0 x86
  • API: 28
  • Resolution: 1080 x 1920 xxhdpi

But it always got stuck in the Google logo every time I launched it and I realised that these logs and other similar appeared in the Android Studio welcome screen.

Android Studio AVD launch errors
Emulator: E0603 13:40:05.624344573 25762 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1591209605.624292177","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}
Emulator: qemu-system-x86_64: warning: TSC frequency mismatch between VM (4006952 kHz) and host (4006953 kHz), and TSC scaling unavailable

#Solution

So in order to fix this, I just disabled the Camera by switching the option from Emulated to None and that was all.

Edgardo

Full-stack web and mobile developer

Buy me a coffee Support me with a Coffee please :)