SOLVED

How to start the SurfaceDuo 2 emulator on an Apple M1 device?

Iron Contributor

Hi team,

I know I had the same questions a few month ago, but I want to bring it up again.

Currently I'm using an Apple M1 Mac as my development machine. Everything works expect of the Surface Duo 2 emulator.

 

In short:

I cannot find where I can change it from trying to use qemu-system-x86_64 instead of the installed qemu-system-aarch64 one.

 

Facts:

  • M1 Mac
  • MacOS Monterey
  • Android Studio installed
  • AS emulators starts as expected
  • `run.sh` fails because of x86 linked emulator

Thanks for any helpful tip!

 

1.png

2.png

  

 

 

12 Replies
best response confirmed by tscholze (Iron Contributor)
Solution

@tscholze Sorry about the confusion. What I meant last time during the Twitch Live session was Google Android emulator is working on Apple M1, but not our Surface Duo emulator. We are still working on our ARM emulator. Will let you know when it is ready.

Thanks @joyliu! Cannot wait until it's available. :) 

@joyliu do you have any updates or a little bit more detailed roadmap brings the SD2 emulator to an M1 Mac? :)

@tscholze Thanks for asking. We are still working on that. Will keep you posted when we are ready. Please stay tuned.

@joyliu thanks for the update. :)

@joyliu Hello, any news on this yet? Is it planned for this CY at all? All our devs use M1 MBP now and I would like to know. Thanks

Hi @crispinb thanks for using our Surface Duo emulator and being patient. Yes, supporting Apple M1 is on our roadmap for this year. Please stay tuned.

@tscholze excited to be able to share the download details for a Surface Duo emulator that works on Apple Silicon! You will find new emulator images available at:

 

https://www.microsoft.com/en-us/download/details.aspx?id=100847

 

(select the arm64 macOS download)

 

Please note that the image requires newer versions of the Android Emulator in SDK Tools - 31.3.12 or newer (or version 32.1.5 if you use canary builds). More information is available in the installation instructions:

 

https://learn.microsoft.com/dual-screen/android/emulator/surface-duo-download

 

 

@Craig_Dunn Whoop whoop! That's awesome. Thanks for pinging me :).

 

PS: Du you plan to support Windows 11 ARM as an emulator host? MSFT released the Dev Kit.

Not sure - that box is intended for enabling folks to build & test apps _targeting_ Windows on ARM as a platform. I don't know if many folks are planning to use it as a general desktop developer platform for other targets. An interesting question that we'll keep in mind.

Yes, @Craig_Dunn. I know that this box is -as you mentioned - purely meant for Windows, not Android developers.

 

It was more a question out of curiosity if the work you did put into the M1 / M2 port also enables Windows ARM - but you answered it already: no.

 

Thanks for your blazing fast reply! 

1 best response

Accepted Solutions
best response confirmed by tscholze (Iron Contributor)
Solution

@tscholze Sorry about the confusion. What I meant last time during the Twitch Live session was Google Android emulator is working on Apple M1, but not our Surface Duo emulator. We are still working on our ARM emulator. Will let you know when it is ready.

View solution in original post