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
As of API 29, it stops working randomly for no reason. Need to shutdown and restart emulator, then it works again.
On API level 25 (no skin) it worked after going into the setting, searching for "rotate" and toggling both related settings off and on again.
Pixel 2 - API 28 (Android 9)
I had to do this to fix it.
Only this has worked for me.
As of mid 2015 the issue is still open and logged in the android bug tracker here's the link you can check it out https://code.google.com/p/android/issues/detail?id=61671
None of the above solutions worked for me and i am using Android 4.4.2 emulator. As a work around in your graphical layout you can change the orientation and check it out.
Is the accelerometer property of the emulator set to True? please check it. if not, set it to true. it should help. its working fine on mine.
Open AVD Manager -> GoTo 'Device Definitions' tab -> Select an existing AVD -> Clone
In my case it was solved by disabling the "Hardware keyboard present" checkbox in the "Edit Android Virtual Device (AVD)" window.