无法在 Android 设备监视器中设置位置控制

Can't set Location Controls in Android Device Monitor

我希望能够为我的模拟器设置 GPS 坐标,但在 Android 设备监视器中,设置它们的选项对我来说是灰色的(见下文)。下面的屏幕截图使用的模拟器是 Nexus_S_API_23,但我已经尝试了一些其他的模拟设备,但仍然有同样的问题。

我该如何解决这个问题?

要设置 GPS 坐标以在您的应用程序中试用,您只需 运行 模拟器中的应用程序并按 Ctrl + Shift + L 或单击模拟器面板中的三个点 (...)并导航到弹出的 "Extended controls" window 中的 "Location" 选项卡。

您可以在 "Working with the Extended Controls, Settings, and Help" 的 https://developer.android.com/studio/run/emulator.html 下找到更多详细信息。

希望对您有所帮助。