Lea*_*ner 5 android android-emulator
我正在尝试创建一个简单的应用程序.我创建了一个新的AVD.我推出了它.我一直在等待一个小时,但模拟器只显示ANDROID.我被卡住了.有人可以请帮助.
这是一个小时的形象请不要标记重复.我尽可能多地搜索和尝试.
有什么我做错了吗?请帮忙 !!
我的模拟器创建
我再次启动了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'
Run Code Online (Sandbox Code Playgroud)
分配给 avd 的 RAM 超过分配给 HAXM 的 RAM。要么增加 HAXM 的 RAM(如果您的 PC 上有 4 GB RAM,这不是一个好主意),要么减少 AVD 的 RAM 以匹配 1024 mb 或更低。
我建议为一些旧设备配置(如 Nexus s)创建模拟器并使用 X86 映像。
如果这不起作用,请发布进一步的查询。
归档时间: |
|
查看次数: |
3257 次 |
最近记录: |