When I switch to landscape mode (NUMPAD 7 or CTRL+F11) the emulator rotates the screen to landscape orientation but the Android OS and none
I had same problem. Try removing the "Keyboard lid support" option in the settings of the hardwere virtual machine. It helped me.
I had to install a new virtual device Nexus on API LEVEL 27 On Api Level 28(PIE) I could not rotate the display.
And it works for me. Regards
It is a bug with the 2.3 and 4.4 emulators.
http://code.google.com/p/android/issues/detail?id=13189 [v2.3]
https://code.google.com/p/android/issues/detail?id=61671 [v4.4]
Another answer here:
in my case the problem was simply that the auto-rotate setting in the android emulator settings (accessible pulling down the notification bar) was disabled, my bad.
I spent more time then I'd like to admit scratching my head why my app was rotating fine on my device but not in the emulator... in the emulator pull the drop-down OS menu and make sure "auto-rotate" is enabled.
I got this to work with the latest version of AVD.
Check out the config :
Also, here is the result:
I think wha tmakes it click is the combination of keyboard and Skin. Also, if you create your own device make sure you add a Gyroscope sensor.