【问题标题】:Google Maps Android API: Google Maps Android API v2 only supports devices with OpenGL ES 2.0 and aboveGoogle Maps Android API:Google Maps Android API v2 仅支持 OpenGL ES 2.0 及更高版本的设备
【发布时间】:2018-05-05 18:37:59
【问题描述】:

我的模拟器使用 Google Play 服务运行 API 27。人们建议这样做:

<uses-feature android:glEsVersion="0x00020000" android:required="true" />

他们还建议将模拟器设置为使用“主机 GPU”,但该设置在使用 Google Play 服务的模拟器上显示为灰色/禁用。

有人可以帮忙吗?考虑到谷歌地图应用程序本身在模拟器上运行没有问题,这似乎特别荒谬。

【问题讨论】:

  • 如果您在 Windows 上(是的,请始终说明操作系统和版本)也许 Added a dropdown to select OpenGL renderer in the Emulator Settings page. If you are having OpenGL driver issues and are on Windows, try out the ANGLE (D3D11) or ANGLE (D3D9) options (requires restart). If you are having OpenGL driver issues but are not on Windows, try out the Swiftshader software renderer (requires restart). 来自 androidstudio.googleblog.com/2017/04/…

标签: android google-maps android-emulator


【解决方案1】:

基本上 Nexus 5x 和 Nexus 5 强制使用具有模拟性能的图形自动,因此谷歌地图在模拟器上不起作用。您应该尝试使用其他设备,例如 Nexus 4,并且可以使用谷歌地图。 这是 Nexus 4 的屏幕截图:

对于 Nexus 5x 或 Nexus 5,您无法更改模拟性能图形设置:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-03-24
    • 2023-04-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多