AVD Manager(安卓模拟器)启动报错

本文解决了Android模拟器启动时遇到的两个主要问题:缺少kernel-qemu文件和硬件加速问题。对于缺少kernel-qemu文件的问题,尝试安装了Intel X86 Atom System Image和Arm EABI v7a System Image。由于Android 8.1.0中未找到Arm EABI v7a System Image,最终选择了Android 7.1.0模拟器。硬件加速问题通过确保Intel HAXM正确安装并可用得以解决。

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

报错:

Starting emulator for AVD 'android8.1.0'
emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is undefined

 

解决过程分析如下:

第一个错误:ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.

这个错误的排查思路:

(1)双击打开 SDK Manager,查看是否安装 

Intel X86 Atom System Image 和 Arm EABI v7a System Image

没有安装的话,勾选进行install~~

问题:Android 8.1.0(API 27)里面没有Arm EABI v7a System Image,网上百度了不知道为啥没有这个插件,还没找到原因,就重新安装了Android7.1.0的模拟器了

Android7.1.0模拟器需要安装的插件如下图:

 

2. 重新双击打开AVD Manager

点击 Start后报错如下:

ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

 

百度上找到这个报错的解决办法:

https://www.cnblogs.com/springxie/p/4742100.html

 

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

海是倒过来的天~

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值