Will Android Studio work on Mac with an ARM processor?

Viewed 11592

Will Android Studio work on Apple with arm chips ARM (the new Mac devices)?

6 Answers

Good news !

Edit on May 2021

Apple Silicon Support

There is an arm64 version available for Android Studio Arctic Fox (2020.3.1) Canary 15 ... Beta03 You can download it here https://developer.android.com/studio/archive

NDK builds doesn't work

First post

Android Studio 4.1 works, but I'm not able to make Emulator work. Even the ARM image shows me a CPU does not support VT-x

I can confirm, this preview of Emulator works properly https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html

Since v3 even audio-out works (no audio-in)

Update March 2021

You can simple use one of these and it's working out of the box enter image description here

Intellij (and Google to a lesser extent) has a financial interest in making sure that it does work. Emulation might be slow, but I would be shocked if the IDEs and other tools aren't recompiled to work pretty soon after the release. Edit: Their IDEs already work on ARM-based Chromebooks, which hopefully means there's little work in making it work for ARM Macs

And on the bright side, emulators will probably be faster?

Android Studio is Basically InteliJ with the Android plugin enabled by default, so if you're impatient, you can use the M1 build of IntelliJ and enable the Android plugin here.

Currently, this has an issue with the bundled sqlite-jdbc not being compatible with Apple Silicon. To resolve this:

  • Download sqlite-jdbc 3.34.0 or later at https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/
  • Go to finder > applications > right click on "Intellij Idea" > "show package contents". Go to Contents>lib and replace the old sqlite-jdbc.jar with the latest downloaded sqlite-jdbc.jar file.

Go to https://github.com/google/android-emulator-m1-preview to get an M1 compatible emulator.

I am using Apple Silicon(M1) Macbook and running Android studio on it. There are 2 things -

  1. Does Android studio work on M1 - YES, it is using Rosette2 to convert android studio binary for ARM. And performance is pretty impressive.

  2. Do i have emulator for M1 - YES, download "Android Emulator M1 Preview2" of emulator from here - https://github.com/741g/android-emulator-m1-preview/releases/tag/0.2

Steps:

  1. Double click the .dmg. It will open folder
  2. Drag and move emulator file to Applications
  3. Right click on emulator file and click open. It will show developer security message. Bypass that from "Security & Privacy" window on Mac.
  4. Right click and Open. And it will launch the emulator.

There are few issues with emulator that will resolve in future releases. You can read more on google page - https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html

In android studio, you will see this emulator as "Virtual device" in running device drop. Select and run your app.

Related