Android Studio インストール for macOS

Android Studio を macOS Mojave へインストールしました。

Android Studio ダウンロード

まず、Android Studio と SDK ツールのダウンロード  |  Android Developers から dmg ファイルをダウンロードします。

Android Studio インストール

Android Studio のインストール  |  Android Developers に沿って、インストールします。

Mac で Android Studio を利用する際に JDK 1.8 を使用していると、安定性が低下することが知られています。これらの問題が解決されるまでは、古いバージョン(JDK 1.6 以前)の JDK をダウンロードすることで安定性を改善することができます。

と書かれてますが、Android Studio に JDK が含まれているので気にしなくて大丈夫です。

Check for Updates から更新

ERROR: Failed to install the following Android SDK packages as some licences have not been accepted

ERROR: Failed to install the following Android SDK packages as some licences have not been accepted.
   platforms;android-28 Android SDK Platform 28
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio-ui/export-licenses.html
 
Using Android SDK: /Users/yourname/Library/Android/sdk
Install missing SDK package(s)

Install missing SDK package(s) リンクからインストールします。

以上、Android Studio を macOS にインストールして、Android 開発をやっていきたい現場からお送りしました。