【问题标题】:Unable to launch Android Emulator无法启动 Android 模拟器
【发布时间】:2016-08-09 12:27:02
【问题描述】:

我在 Linux 上使用 Netbeans 8.1 和 android-sdk,没有 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

【问题讨论】:

    标签: android linux netbeans sdk android-sdk-tools


    【解决方案1】:

    你的错误清楚地表明

    禁用 GPU 仿真时,仅支持 768 X 1280 或更小的屏幕尺寸。

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

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

    【讨论】:

    • Nexus 4 是解决方案!谢谢。
    猜你喜欢
    • 2012-09-29
    • 2012-04-13
    相关资源
    最近更新 更多