更新后模拟器出现问题 [英] Problem with the emulator since the update

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

问题描述

我的模拟器 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

推荐答案

UPDATE: 这个问题已在 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.

是的,这个问题出现在 30.0.12 版本的 android 模拟器中.

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 ->选择模拟器 ->编辑 ->高级设置 ->多核 CPU ->取消选中此选项

带有 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.

在锐龙 5 1600、16GB 内存、Windows 10 专业版、模拟器 30.0.12 上测试.

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

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

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