SOLVED

Orientation on the surface duo emulator

Microsoft

Hi,

 

I have a feeling I am doing something wrong but I can't put my finger on it. I am trying to implement a website that will support the screen-split media queries. Vertical works perfectly, but when going horizontal, the screen doesn't re-align and doesn't change the orientation. Auto-rotate is on in both settings and in the notification pane (see picture), but still no app changes its orientation:

 

2020-09-15 13_15_07-.png

I tried with a few apps (settings, edge, email, phone), but the emulator refuses to re-orient.

 

Is there something I missed?

1 Reply
best response confirmed by RaananW (Microsoft)
Solution

@RaananW this is an incompatibility with the latest release of the Android emulator :\

 

Rotation will work on emulator 30.0.12 and earlier, but in versions 30.0.26 and over it fails (nothing rotates). We are working on a fix but there is no timeline yet.

 

A workaround would be to downgrade to version 30.0.12 of the emulator.

 

UPDATE:

You can download an older version of the emulator binaries from these links (on dl.google.com):

Take the /emulator/ directory in these downloads and place in your Android SDK location (consider first renaming the existing folder to /emulator-newer/ so you can reinstate it if required).

1 best response

Accepted Solutions
best response confirmed by RaananW (Microsoft)
Solution

@RaananW this is an incompatibility with the latest release of the Android emulator :\

 

Rotation will work on emulator 30.0.12 and earlier, but in versions 30.0.26 and over it fails (nothing rotates). We are working on a fix but there is no timeline yet.

 

A workaround would be to downgrade to version 30.0.12 of the emulator.

 

UPDATE:

You can download an older version of the emulator binaries from these links (on dl.google.com):

Take the /emulator/ directory in these downloads and place in your Android SDK location (consider first renaming the existing folder to /emulator-newer/ so you can reinstate it if required).

View solution in original post