问题
I have had a problem with my emulator Android Studio for a few days, when I try to compile my code, my event log marks this:
09:13 Emulator: socketTcpLoopbackClientFor: error: fd 44088 above FD_SETSIZE (32768)
09:13 Emulator: socketTcpLoopbackClientFor: error: fd 44088 above FD_SETSIZE (32768)
09:13 Emulator: emulator: ERROR: AdbHostServer.cpp:102: Unable to connect to adb daemon on port: 5037
What can i do to fix this thank you in advance
回答1:
Yes, this issue is seen in version 30.0.12
of android emulator.
As a temporary fix, which will work only on emulators without PlayStore, disable Multi-core cpu option
Avd Manager -> Select emulator -> edit -> Advanced Settings -> Multi-core CPU -> UNCHECK this option
The devices with PlayStore images do not allow changing anything about the device this won't work.
I have not seen any major lag by disabling the multi-core cpu option. Emulator is just as responsive and loads under 2 seconds, ready to be used.
Tested on Ryzen 5 1600, 16gb RAM, Windows 10 Pro, emulator 30.0.12.
来源:https://stackoverflow.com/questions/61885421/problem-with-the-emulator-since-the-update