AVD 屏幕方向不随 CTRL+F11 或 CTRL+F12 改变
我使用 eclipse 在 AVD 模拟器中运行我的应用程序,但无法更改 AVD 中的屏幕方向(模拟器上的 Android 2.0 平台)。
当我按键盘上的 CTRL+F11 或 CTRL+F12 时,没有任何反应。当我按下任一热键时,adb debuglog/logcat 中也不会生成任何消息。
根据 http://developer.android.com/guide/developing/tools/ emulator.html 这些是切换模拟器屏幕方向的正确热键。
我用我的应用程序和消息应用程序尝试过。热键在任何情况下都没有任何影响。
我运行的是 Fedora 12、Gnome。我检查了系统中的键盘快捷键 ->首选项菜单,任何热键都没有附加任何内容。
同样的问题,3 台不同的 PC(都运行 Fedora Gnome)。
I run my app in the AVD emulator using eclipse but I'm unable to change the screen orientation in the AVD (Android 2.0 platform on the emulator).
When I press CTRL+F11 or CTRL+F12 on the keyboard, nothing happens. No messages are generated in the adb debuglog/logcat either when I press either hotkey.
According to http://developer.android.com/guide/developing/tools/emulator.html these are the correct hotkeys to switch the emulator's screen orientation.
I tried it with my app, and with the messaging app. The hotkey has no affect in any case.
I'm running Fedora 12, Gnome. I checked my Keyboard Shortcuts in the System -> Preferences menu, nothing's attached to either hotkey.
Same problem, 3 different PCs (all running Fedora Gnome).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您还可以使用键盘 7 和键盘 9,您尝试过吗?
you can also use keypad 7 and keypad 9, did you try them?
您是否使用 android:screenOrientation 将其锁定到一个还是另一个?
Are you using android:screenOrientation to lock it into one or the other?
确保您没有打开一项功能,例如允许使用数字键盘键移动鼠标指针的辅助功能。我不知何故无意中在 Ubuntu 中启用了此功能,很难判断发生了什么,因为我按住按键的时间不够长,指针没有移动太多。转到“键盘首选项”->“鼠标键”并取消选中“可以使用键盘控制指针”修复了该问题。
Make sure you don't have a feature, such as an accessibility one that allows the mouse pointer to be moved with the numpad keys, turned on. I somehow accidently enabled this in Ubuntu, and it was hard to tell what was going on, because I didn't hold the keys down long enough for the pointer didn't move much. Going to Keyboard Preferences->Mouse Keys and unchecking "Pointer can be controlled using the keypad" fixed it.
尝试 Ctrl + Win + F11/F12 。在 Archlinux 上使用 Xfce4。
Try Ctrl + Win + F11/F12 .Worked with Xfce4,on Archlinux.