Setting up Android Studio on M1 Mac

This article is a guide of setting up Android Studio on M1 Mac.

Install Android Studio

Download from the official site

Android Studio can be downloaded from the official web site. The latest version at the time of writing is 2020.3.1.22, and the arm build (Apple Silicon Native build) is a preview release.

Download Android Studio and SDK tools  |  Android Developers

The arm build is a zip archive. Expand the archive and copy “Android Studio” into your Applications folder. The downloadable file may be a disk image file (*.dmg).

Downloaded Android Studio

Use JetBrains Toolbox App to download

Android Studio based on IntelliJ IDEA which is developed by JetBrains. JetBrains Toolbox App also supports Android Studio.

JetBrains Toolbox App is a package manager, it can install and update applications are developed by JetBrains. I prefer to using it rather than downloading directly with web browser because I like AppCode. AppCode is an IDE and based on IntelliJ IDEA too.

JetBrains Toolbox App can be downloaded from the official site below.

JetBrains Toolbox App: Manage Your Tools with Ease

Toolbox App is not a universal binary. Both of Intel binary and Apple Silicon Native binary are available. Click the disclosure button in the download button and select “.dmg (macOS Apple Silicon)” to download the Application Silicon Native binary.

Download Toolbox App Apple Silicon Native Binary

Open the downloaded dmg file, you will see JetBrains Toolbox and the symbolic link to the Applications folder. Drag JetBrains Toolbox and drop onto the symbolic link, it will be copied into your Applications folder.

The contents of Toolbox App dmg file.

Launch Toolbox App, Toolbox App icon will be appeared in the menu bar. Click it to open and click the gear icon. The gear icon is at the right top corner of the window.

The gear icon in the JetBrains Toolbox App Window

Click the “Log in” link to login with your JetBrains account. If you not have JetBrains account, you can create a new account, click the “Create an account” link.

Click Log in link to login with your JetBrains account

Toolbox App can keep multiple versions of each applications. If you want to install always latest version only and other versions are not needed, you should turn on “Keep only the latest version” option. Open the disclosure button at the left of “Tools” in the settings tab, the option will be found there.

Turn on Keep only latest version optionClick the “Install” button at the right of Android Studio in the Tools tab.

Install Android Studio

Setup Wizard

When you launch Android Studio for the first time, the Android Studio Setup Wizard will be displayed. Follow to the wizard, you can install required components such as SDK.

Android Studio Setup Wizard

After completed, the installation log will be displayed. On M1 Mac, the architecture of created virtual device is arm64, not x86.

Creating Android virtual device
Android virtual device Pixel_3a_API_31_arm64-v8a was successfully created

Click the “Finish” button to close the wizard.

Update the plugin

Check updates of bundled plugins. In the startup window, click the gear icon and select “Check for Plugin Updates …” .

If updates are found, the updates list is displayed. For example, on my machine, the Kotlin plugin is updated. Click the “Update” button, the updater will be downloaded and installed. After completed, the “Restart IDE” button will be appeared and click it.

Install the Flutter plugin

Install the Flutter plugin. Follow to these steps.

(1) Click “Plugins” link in the Welcom window.

(2) Search “flutter” in the Marketplace.

(3) The “Flutter” plugin will be found and click “Install” button.

Install the Flutter plugin

(4) Click “Accept” button in Third-Party Plugins Privacy Note dialog.

Third Party Plugins Privacy Note

(5) Click “Install” in the dialog to install required plugins “Dart” .

Install Required Plugins "Dart"

(6) Click “Restart IDE” button.

Restart IDE

Install Android SDK Command Line Tools

(1) Open the SDK manager.

Open the SDK manager

(2) Turn on “Android SDK Command-line Tools (latest) in the SDK Tools tab.

Turn on "Android SDK Command-line Tools (latest)" in the SDK Tools tab

(3) Click “OK” button.

(4) Confirmation dialog will be showed, click “OK” button to continue.

Confirmation dialog

(5) Click “Finish” button.

Completed the installation

Sponsored Links
Get the Latest News !

Developer ToolsLatest 8 Posts