gpt4 book ai didi

安卓 : Emulator doesn't launch

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:53:29 27 4
gpt4 key购买 nike

我正在尝试创建一个简单的应用程序。我创建了一个新的 AVD。我启动了它。等了一个小时,模拟器只显示ANDROID。我卡住了。有人可以帮忙吗。

一个小时的样子stuck请不要标记重复。我尽可能多地搜索和尝试。

我做错了什么吗?请帮忙!!

我的模拟器创建emulator creation

我再次启动 AVD 并获得此日志。我认为有人肯定可以从中找到我正在做的错误。

使用参数创建文件系统:

ERROR: couldn't get path to resize2fs binary


Size: 576716800
Block size: 4096
Blocks per group: 32768
Inodes per group: 7040
Inode size: 256
Journal blocks: 2200
Label:
Blocks: 140800
Block groups: 5
Reserved block group size: 39


Created filesystem with 11/35200 inodes and 4536/140800 blocks
Creating filesystem with parameters:


Size: 69206016
Block size: 4096
Blocks per group: 32768
Inodes per group: 4224
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 16896
Block groups: 1
Reserved block group size: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: device fd:780

HAXM is not working and emulator runs in emulation mode

emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.


emulator: AVD RAM size = 1536 MB
emulator: HAXM max RAM size = 1024 MB
emulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.


creating window 23 46 193 322
emulator: UpdateCheck: current version '24.4.0', last version '24.4.0'

最佳答案

分配给 avd 的内存超过分配给 HAXM 的内存。要么增加 HAXM 的 RAM(如果您的 PC 上有 4 GB 内存,这不是一个好主意),要么减少 AVD 的内存以匹配 1024 MB 或更低。

我建议为像 nexus 这样的旧设备配置创建模拟器并使用 X86 图像。

如果此方法不起作用,请发布进一步的查询。

关于安卓 : Emulator doesn't launch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33042201/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com