AVD 屏幕方向不随 CTRL+F11 或 CTRL+F12 改变

发布于 2024-08-30 11:31:59 字数 568 浏览 4 评论 0原文

我使用 eclipse 在 AVD 模拟器中运行我的应用程序,但无法更改 AVD 中的屏幕方向(模拟器上的 Android 2.0 平台)。

当我按键盘上的 CTRL+F11CTRL+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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

且行且努力 2024-09-06 11:31:59

您还可以使用键盘 7 和键盘 9,您尝试过吗?

you can also use keypad 7 and keypad 9, did you try them?

羁客 2024-09-06 11:31:59

您是否使用 android:screenOrientation 将其锁定到一个还是另一个?

Are you using android:screenOrientation to lock it into one or the other?

柒七 2024-09-06 11:31:59

确保您没有打开一项功能,例如允许使用数字键盘键移动鼠标指针的辅助功能。我不知何故无意中在 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.

黯然 2024-09-06 11:31:59

尝试 Ctrl + Win + F11/F12 。在 Archlinux 上使用 Xfce4。

Try Ctrl + Win + F11/F12 .Worked with Xfce4,on Archlinux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文