Problem with the emulator since the update

隐身守侯 提交于 2020-05-31 03:48:08

问题


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

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