如何使AVD在Android模拟器中工作?
INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
ERROR | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR | ANDROID_SDK_ROOT is undefined
(android_sdk_root
是定义的,当事物正确运行时,它不会抱怨这个),
然后复制
模拟器能够打开,但没有任何渲染,大概是因为错误android/sdk/system-images/android-10/android-10/默认/x86/kernel-ranchu
<代码>〜/.android/avd/2.7_qvga_api_3.avd调整分区大小E2FSCK失败,而Exit Code 8
。
我已经测试了Android较新版本的ARM构建,这些版本也不起作用。但是我对它们并不困扰,因为X86版本可用于姜饼和冰淇淋三明治。我有兴趣运行纸杯蛋糕或甜甜圈,如果可能的话,我有兴趣,甚至1.0或1.1,但是Eclair/Froyo/Honeycomb也是一个不错的奖励。
我知道Android的旧版本无法访问Play商店或使用现代图书馆,并且市场份额约为0%,因此通知我这无济于事。
INFO | Android emulator version 31.2.10.0 (build_id 8420304) (CL:N/A)
ERROR | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR | ANDROID_SDK_ROOT is undefined
(ANDROID_SDK_ROOT
is defined, and when things are running properly it doesn't complain about this)
After copying Android/Sdk/system-images/android-10/default/x86/kernel-ranchu
into ~/.android/avd/2.7_QVGA_API_3.avd
the emulator is able to open, but nothing renders, presumably because of error resizing partition e2fsck failed with exit code 8
.
I have tested ARM builds of newer versions of Android, and those don't work either. But I'm not bothered about them, as x86 builds are available for Gingerbread and Ice Cream Sandwich onwards. I'm interested in running Cupcake or Donut, or even 1.0 or 1.1 if that's possible, but Eclair/Froyo/Honeycomb would be a nice bonus too.
I'm aware old versions of Android can't access the Play Store or use modern libraries, and have a market share of approximately 0%, so informing me of this isn't helpful.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论