开发环境之Mac上Android Studio上虚拟AVD设备不显示

本文记录了解决Android Studio中AVD设备无法显示的问题过程。作者遇到虚拟设备不显示及启动时报错的情况,通过调整Genymotion中的Android SDK配置并清理部分AVD设备后,最终成功启动虚拟设备。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

每次Run 的时候。。看不到AVD设备。。。。


红线框住的地方原来是空的。


后来进AVD Manager里面,启动一个虚拟设备,发现报错。



Hax is enabled
Hax ram_size 0x60000000
HAX is working and emulator runs in fast virt mode.
console on port 5554, ADB on port 5555
Failed to sync vcpu reg
emulator: ERROR: Unfortunately, there's an incompatibility between HAXM hypervisor and VirtualBox 4.3.30+ which doesn't allow multiple hypervisors to co-exist.  It is being actively worked on; you can find out more about the issue at http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)
Failed to sync vcpu reg
Failed to sync vcpu reg
Internal error: initial hax sync failed


然后修改了一下Genymotion中的Android SDK的配置。另外删除了一些AVD,启动的时候能看到虚拟设备了。



主要好好检查下这个里面配置的虚拟AVD,有没有不对的。最好重新配置一遍

吼吼。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值