Android 模拟器在 MacOSX 上切换单元网络
我正在尝试在 MacOSX 上运行的 Android 模拟器上切换蜂窝网络。它在 Windows 上使用 F8(如文档所述)运行良好,但在 Mac 上似乎不是相同的快捷方式。有谁知道如何在 MacOSX 上切换蜂窝网络?
I'm trying to toggle cell network on Android Emulator running on MacOSX. It works great on Windows with F8 (as documented), but it seems not to be the same shortcut on Mac. Does anyone know how to toggle cell network on MacOSX?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您使用的是 Mac 笔记本电脑,请尝试使用 Fn + F8。我认为这些 Mac 上的某些功能键默认会触发特殊操作。通过按住 Fn 您可以得到普通的功能键。
这可以在键盘设置中更改
If you are on a Mac laptop try using Fn + F8. I think some of the function keys on these macs trigger special actions by default. By holding Fn you get the plain function key instead.
This can be changed in the keyboard settings
在 Eclipse 中,转到 ::
Menu >>>窗口>>显示视图>>其他>>安卓>> Emulator Control
然后您将看到如下选项:
如果您在 Data: 选项中选择 unregisterd,则它将切换您的模拟器网络。
In eclipse , Go to ::
Menu >> Window >> Show View >> Others >> Android >> Emulator Control
then you will see the options like:
Here if you select unregisterd in Data: option then it will toggle your emulator network.
结果 F8 和 Fn + F8 不起作用,因为其他系统应用程序已经在监听这些键。您需要进入“系统偏好设置”-> “键盘”并删除对 F8 键的检查或完全删除该键(可能 Expose 正在监听它)。
Turns out F8 and Fn + F8 won't work because other system applications are already listening on these keys. You need to go to "System Preferences" -> "Keyboard" and remove the checks for F8 key or remove the key alltogether (probably Expose is listening to it).