【问题标题】:Black Screen when start android studio emulator 4.0.3 (API 15)启动 android studio emulator 4.0.3 (API 15) 时出现黑屏
【发布时间】:2019-08-06 06:07:36
【问题描述】:

我正在使用 Android Studio 3.3.2,当我使用 android 4.0.3 x86 创建模拟器时,显示黑屏并且从不启动。

我尝试了其他更高版本并完美启动。我尝试通过命令行运行,但没有收到任何错误。在“模拟性能”中,我有软件 - GLES 1.1,不允许我更改。我从 Windows 10 和 OSX 10.14.4 Mojave 都试过了,也遇到了同样的问题。

【问题讨论】:

  • 您找到解决方案了吗?
  • 我的解决方案是转到 AVD 的右侧面板,单击底部的三个点,转到 Settings -> Advanced 并设置: OpenGL ES 渲染器 到 SwiftShader 和 OpenGL ES API 级别 到最大渲染器。

标签: android android-studio android-emulator


【解决方案1】:

我遇到了同样的问题,我只是通过手动更改 GPU 设置解决了它。

我编辑了 AVD 文件夹名称 (%USERPROFILE%\.android\avd\<AVDNAME>.avd\config.ini) 内的 config.ini 文件,将 hw.gpu.enabled 更改为“yes”和 hw.gpu.mode到“主机”。

您还可以在“Configure hardware acceleration for the Android Emulator”查看其他 GPU 模式。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-12-27
    • 1970-01-01
    • 2012-03-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多