I am using Titanium to build an app. I created an android emulator using a standard device definition Nexus 4 (4.7", 768X1280: xhdpi, Android 4.1.2 - APU Level 16 , ARM (armebi-v7a) when I run it , the outside orientation appears correct but the screen itself is upside down. See image:

! [upside down emulator] (http://www.tiikoni.com/tis/view/?id=c0d737c)

I have deleted the emulator and re-created it a couple of times. I chose this one as it appears to have the highest screen density and the smallest screen physical size. Is there a way to fix this? when my app runs, it does appear correctly, but using the emulator is weird. Loke for opening the app drawer, you don't click on the icon where it is displayed, but you click where it should be.

有帮助吗?

解决方案

Unchecking the "Use Host GPU" corrects the situation. I do not know why, but it does.

其他提示

Try left Ctrl + F12. to rotate emulator.

also refer

The fix to this for me was very simple. I entered the resolution as height x width and it was upside down. So I entered width x height and it became OK.

Please check your XML and set proper background to the parent view.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top