问题
I was trying to install SDK and Emulator without the Andriod studio on Ubuntu 20.04. But got stuck at this error.
E0520 11:06:29.866803544 5261 socket_utils_common_posix.cc:201] check for SO_REUSEPORT: {"created":"@1589952989.866791260","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}
checkValid: hw configs not eq
回答1:
I got the solution from this article:
So in order to fix this, I just disabled the Camera by switching the option from
EmulatedtoNoneand that was all.
Don't ask why this works, but it seemed to solve it for me.
回答2:
Install Android SDK Platform tools. if already exist uninstall and install Android SDK Platform tool in ubuntu 20.04
回答3:
Seems a GPU issue, try :
sudo ubuntu-drivers autoinstall
Or (or both) change graphic emulated performance to software if your emulated device allow it.
Had same issue with linux mint android studio .. Hope it will help.
来源:https://stackoverflow.com/questions/61905936/so-reuseport-unavailable-on-compiling-system-to-run-emulator-for-andriod-on-ubun