无法启动 Android 模拟器

Unable to launch Android Emulator

我正在使用 Netbeans 8.1 和 android-sdk Linux,没有 GPU。当我 运行 我的项目,或者当我尝试 启动 模拟器时,我得到:

Starting emulator for AVD 'MG'
emulator: WARNING: VM heap size set below hardware specified minimum of 256MB
emulator: WARNING: Setting VM heap size to 512MB
emulator: ERROR: GPU emulation is disabled.
Only screen size of 768 X 1280 or smaller is supported when GPU emulation is disabled.

详情如下:

有什么想法


编辑:

如果我在 cmd 中使用以下命令尝试相同的行为:

gsamaras@gsamaras-A15:~/android-sdk-linux/tools$ ./emulator -avd MG

你的错误清楚地表明

Only screen size of 768 X 1280 or smaller is supported when GPU emulation is disabled.

正如我在您所附的图像中看到的那样,您在屏幕尺寸为 1080 x 1920 的 MG AVD 中使用虚拟 Nexus 5。

将您的硬件配置文件更改为 Nexus 4 或创建分辨率为 768 x 1280 或更低的自定义 AVD。