SO_REUSEPORT unavailable on compiling system to run emulator for android on Ubuntu
3,749
I got the solution from this article:
So in order to fix this, I just disabled the Camera by switching the option from
Emulated
toNone
and that was all.
Don't ask why this works, but it seemed to solve it for me.
Author by
Admin
Updated on December 20, 2022Comments
-
Admin over 1 year
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
-
Antek almost 4 years@Vincent_Paing confirm, this did not work for me either on ubuntu 18.04
-
Roland over 3 yearsSame problem, after working for a lot of hours with a nicely working emulator. The article link is dead, but you mean to open AVD Manager, edit the virtual device, click Advanced Settings, and configure the camera to None. This worked for me, but I also created a new, simpler virtual device, so I don't know which action actually solved the error message. In fact, the error msg still shows, but my app appears again nicely on each virtual device emulator
-
andras over 3 yearsJust as you described. This solved the debugging for me, error still shows. I think that maybe recreating the emulator was the actual solution and the initial problem came from having multiple debugging sessions for the same device (Flutter and native). Really don't know what solves it, but I am glad it works for you as well.
-
Beatle Refractor over 3 yearsI had use this command. and my system was like it was not booting. Altogether I had to install new ununtu after this.
-
randmin about 3 yearsWorks for me! Note: The camera option "virtual scene" works as well, so if you want to use your computer camera, have a look into this option.