Forum Discussion

tscholze's avatar
tscholze
Iron Contributor
Nov 08, 2021
Solved

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

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!

 

  

 

 

  • 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.

  • 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

     

     

    • tscholze's avatar
      tscholze
      Iron Contributor

      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.

      • Craig_Dunn's avatar
        Craig_Dunn
        Icon for Microsoft rankMicrosoft
        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.
  • 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.

      • tscholze's avatar
        tscholze
        Iron Contributor

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

Resources