SO_REUSEPORT unavailable on compiling system to run emulator for andriod on Ubuntu

一曲冷凌霜 提交于 2020-08-22 09:37:09

问题


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 Emulated to None and 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!