我的 android 模拟器显示倒置的 android 屏幕?任何解决方案

my android emulator shows inverted android screen ? any solutions for

我正在使用模拟器屏幕 android 目标 2.2 系统映像臂用于 nexus one。

我正在为 android 使用 eclipse ide,而 运行 我的模拟器屏幕显示倒置屏幕任何解决方案都可以使其正确

在电源按钮、音量按钮等右侧的那个栏上,看起来像相机的按钮上方的两个按钮将模拟器顺时针或逆时针旋转 90 度。

您可以设置默认旋转(纵向)。添加到 AndroidManifest.xml

<activity>
    android:screenOrientation="portrait"
</activity>

您的应用将 运行 仅显示纵向屏幕。

这应该可以解决您的问题。您可以使用以下键旋转屏幕。

对于Windows:左Ctrl + F12。

对于Mac:Fn + Ctrl + F12

有关详细信息,请参阅 here

This code may help you,add this Manifest file.

<activity>
 android:configChanges="orientation"
    android:screenOrientation="portrait"
</activity>