自更新以来仿真器出现问题 [英] Problem with the emulator since the update

查看:292
本文介绍了自更新以来仿真器出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几天来我的模拟器Android Studio出现问题,当我尝试编译代码时,我的事件日志对此进行了标记:

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

推荐答案

更新:该问题已在版本30.0.26中得到解决,如

UPDATE: This issue has been fixed in version 30.0.26 as mentioned here. The temporary fix mentioned below may not be needed anymore.

是的,此问题在android仿真器的版本30.0.12中可见.

Yes, this issue is seen in version 30.0.12 of android emulator.

作为临时修补程序(仅适用于没有PlayStore的模拟器),请禁用多核CPU选项

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

带有PlayStore图像的设备不允许更改无法使用的设备的任何信息.

The devices with PlayStore images do not allow changing anything about the device this won't work.

通过禁用多核cpu选项,我没有看到任何重大滞后.仿真器具有同样的响应能力,并在2秒钟内加载完毕,随时可以使用.

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.

在Ryzen 5 1600、16GB RAM,Windows 10 Pro,模拟器30.0.12上进行了测试.

Tested on Ryzen 5 1600, 16gb RAM, Windows 10 Pro, emulator 30.0.12.

这篇关于自更新以来仿真器出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆