Hello World Android App Emulator未运行

时间:2016-09-29 17:49:38

标签: android emulation

大家好我想让一个基本的模拟器运行来显示Hello World但模拟器出现但电话永远不会打开。请帮帮我。

 D:\Installed_Softwares\AndroidSDK\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_24_2
    ERROR: resizing partition e2fsck failed with exit code 9
    emulator: WARNING: userdata partition is resized from 513 M to 800 M
    RegGetValueW failed 2 The system cannot find the file specified.
    RegGetValueW failed 2 The system cannot find the file specified.
    RegGetValueW failed 2 The system cannot find the file specified.
    Hax is enabled
    Hax ram_size 0x60000000
    HAX is working and emulator runs in fast virt mode.
    emulator: Listening for console connections on port: 5554
    emulator: Serial number of this emulator (for ADB): emulator-5554

很乐意根据需要提供更多信息。

2 个答案:

答案 0 :(得分:0)

如果您使用的是Windows,则必须调整(降级)模拟器使用的RAM。 此外,尝试使用旧版本的Android,如4.2或4.4。

答案 1 :(得分:0)

解决Windows上的分区问题:

安装Cygwin并运行e2fsck cmd

# Navigate to AVD and change the API level of the folder
cd C:\Users\%USERNAME%\.android\avd\Nexus_5_API_16.avd
e2fsck -f userdata-qemu.img