为什么姜饼模拟器方位停留在应用程序? [英] why does the gingerbread emulator orientation get stuck in apps?

查看:174
本文介绍了为什么姜饼模拟器方位停留在应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

起初我在姜饼模拟器认为这是我的应用程序中的问题,但它似乎是发生在任何应用程序(虽然有趣,而不是主屏幕)。

At first I thought this was a problem with my app, but it seems to be happening in any app (though interestingly, not the home screen) in the gingerbread emulator.

要复制我的问题,打开Eclipse和火起来的Andr​​oid模拟器的姜饼(我使用了谷歌的API - API级别9作为我的目标)

To replicate my issue, open eclipse and fire up the android emulator for gingerbread (I'm using the "Google APIs - API Level 9" as my target)

所以程序重复一次仿真负载为

So the procedure to duplicate once the emulator loads is

preSS LCtrl-F11转移方向为横向,然后再切换到肖像

press LCtrl-F11 to shift orientation to landscape, then again to switch to portrait

结果:
在主屏幕:
视图旋转为横向,然后回肖像,符合市场预期。

Result:
In the homescreen:
The view rotates to landscape, and then back to portrait, as expected

在任何应用程序(我试过的浏览器,计算器,地图,以及应用程序我目前正在上):
视图旋转为横向,然后什么都没有,它停留在景观甚至仿真器显示在横向模式下的手机(见下文)

In any app (i've tried browser, calculator, maps, and the app i'm currently working on):
the view rotates to landscape, and then nothing, it stays in landscape even the emulator is displaying the phone in landscape mode (see below)

任何人都有这个问题,或者我已经安装了一些不正确的方式模拟器 - 这并不是一个问题,任何previous模拟器

Has anyone else had this issue, or have I installed the emulator in some incorrect way - this hasn't been an issue with any of the previous emulators

推荐答案

其实,我遇到了这个问题偶尔之前,但它似乎变得日益糟糕日新月异工具版本。有什么不对您的安装或如何您正在使用的程序,AFAIK。您可以尝试使用Ctrl-F12切换回,而不是按Ctrl-F11,看看有没有改进的问题。我认为这个问题可能源于模拟器试图仿效四向方向,但,这只是一个猜测。

Actually, I have run into that problem occasionally before, though it does seem to get progressively worse with each passing tools release. There is nothing wrong with your installation or how you are using the program, AFAIK. You might try using Ctrl-F12 to switch back rather than Ctrl-F11 and see if that improves matters. I think the problem may stem from the emulator trying to emulate four-way orientation, but that is just a guess.

这篇关于为什么姜饼模拟器方位停留在应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆