Android - Emulator in landscape mode, screen does not rotate

前端 未结 19 1929
再見小時候
再見小時候 2020-11-28 04:36

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

相关标签:
19条回答
  • 2020-11-28 05:11

    I had same problem. Try removing the "Keyboard lid support" option in the settings of the hardwere virtual machine. It helped me.

    0 讨论(0)
  • 2020-11-28 05:11

    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

    0 讨论(0)
  • 2020-11-28 05:12

    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]

    0 讨论(0)
  • 2020-11-28 05:12

    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.

    0 讨论(0)
  • 2020-11-28 05:15

    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.

    0 讨论(0)
  • 2020-11-28 05:15

    I got this to work with the latest version of AVD.

    Check out the config : Android Config for rotate to work

    Also, here is the result: AVD 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.

    0 讨论(0)
提交回复
热议问题