This website uses cookies in order to provide better service to our customers. If you agree to our use of cookies, please click the "Accept" button.
For more information on our cookie policy, please see the "Terms"
logo image

M1MacでHomebrewを使いAndroid Studioをインストールするとエラー

Icon representing a data.
2022-03-11
Icon show updated_at
2022-03-11
0
Twitter icon.
M1Pro
Mac
Homebrew
AndroidStudio

Precondition

Homebrewを使用して、Andoroid Studioをインストール。
Java(OpenCV)もインストール済み

Fact

アプリは無事にダウンロードされるが、Android Studioを起動してインストール処理を進めると、以下のエラーが発生する。

Android Studioのエラーメッセージ

Error log or Error Massage

The following SDK components were not installed: 
Google APIs ARM 64 v8a System Image and Android 
SDK Build-Tools 32.1-rc1

javax.net.ssl.SSLException: Connection reset

Warning: An error occurred while preparing SDK 
package Google APIs ARM 64 v8a System Image: 
Connection reset.
javax.net.ssl.SSLException: Connection reset

Warning: An error occurred while preparing SDK 
package Android SDK Build-Tools 32.1-rc1: 
Connection reset.

Cause

Homebrewでインストールすると、Intel CPU用のAndroid Studioがインストールされてしまう。

Method

Homebrewでのインストールは諦めて、Android Studioの公式ページからダウンロードしインストールすると、エラーなくインストールされた。

https://developer.android.com/studio?hl=ja#downloads

公式ページのスクリーンショット

在宅専門のフリーランスエンジニアをしています。 得意言語はVBAです。Next.jsとTypescriptを鍛錬中。
Area to place ads.
Area to place ads.
Comments
There are no comments on this article yet.

Environment Library tools

M1Pro
Mac
Homebrew
AndroidStudio
在宅専門のフリーランスエンジニアをしています。 得意言語はVBAです。Next.jsとTypescriptを鍛錬中。