android-studio - SO_REUSEPORT 在编译系统上不可用以在 Ubuntu 上运行 android 模拟器

标签 android-studio sockets ubuntu flutter dart

我试图在 Ubuntu 20.04 上安装没有 Android Studio 的 SDK 和 Emulator。
但是被这个错误卡住了。

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

最佳答案

我从 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.


不要问为什么这有效,但它似乎为我解决了这个问题。

关于android-studio - SO_REUSEPORT 在编译系统上不可用以在 Ubuntu 上运行 android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61905936/

相关文章:

eclipse 错误 'UseStringDeduplication'

android - 使用 gradle 导入 ShowcaseView

android - 我停留在 android 方法 FloatMath.floor API 上没有问题

java - TCP 套接字 HTTP GET 请求内容长度 > 0 但未返回实际内容

c - 加入多播组调用setsockopt报错 "No such device"

sql-server - M1 MacBook 上的 Ubuntu (20.10) Docker 镜像上的 MSSQL 工具

java - Android - Jackson JSON 解析器在 'release' 版本中返回空值

android - 如何降级安卓模拟器

sockets - 套接字和文件描述符

linux - Aptana 3.4.2 不断自行关闭