Mac M1 Android Emulator

先日M1 Macを購入し、 思ったよりもトラブることなく快適に使っています。 Androidの開発環境を作っていたところ、まだ公式にはエミュレータが使えない状態だったので、何とかできないかと試してみました。 ※ この記事内の情報は.

  1. Android Emulator Mac M1 Chip

So many people asking about running the android app on mac m1 system and about its performance on mac m1. So In this post I am sharing all steps to run the react-native android app on mac m1. Android Emulator for M1 is not available on stable releases yet and I am also waiting for Android Studio to fully support M1 macs so that I can use it for. Click on releases option and download the latest preview version by clicking of android emulator m1 preview.dmg. It will download a DMG file. Click on the DMG file in downloads folder of your Mac. The emulator works great, its super fast, so much more than what I have used in my windows machine. And regarding the full screen halt its due to macos big sur. Had that issue on my old mac. Run this command on the terminal and it wont happen again defaults write com.google.android.studio AppleWindowTabbingMode manual. No emulators at this point. IntelliJ has some lags in performance on M1 (because it is not native, and Intel built), but feels pretty usable. Yes, Android Studio and the M1 emulator are working. However keep in mind that sometimes Android Studio will start pushing to Swap massively about 1 hour of work in.

Using Android Studio Emulators in M1 Mac:

Mac

Previously, when M1 Macbooks were released, Android studio didn’t have any support for emulators. Google has released a different preview build for emulators. You can check this build here.

The problem with this preview build is that you can’t change the emulator device type. It works, but if you want to test your application on different device or different screen sizes, there was no other option available.

Recently, they released one change to the Android Studio SDK manager and downloading an extra emulator is no loger needed now.

In this post, I will quickly show you how to create Android Emulators on M1 chipset mac in Android Studio.

How to do that:

First, make sure that you have the latest Android Studio installed. If you have 4.1.2 or later Android studio version, this will work.

  1. First, start AVD manager. If you haven’t created any AVD or android virtual device before, you will find it in Tools->AVD Manager.

  2. Click on Create new virtual device button. It will show you a list of different devices. You can select any of these phones.

Mac M1 Android Emulator
  1. Click on next. It will show you a list of system images. Basically, it shows different images for different Android Versions that can be used with the current AVD. Make sure to select the ‘Other image’ tab. Images listed under this tab are designed for Macbook M1.

Android Emulator Mac M1 Chip

That’s all. It will create one emulator using that selected image. You can also create different virtual devices using the same image.