LoginSignup
5
4

More than 5 years have passed since last update.

mac AndroidStudio emulator が起動しない

Last updated at Posted at 2017-10-22

HAXMがないってエラーがでる or KVMがない VT-x うんたらのエラー

自分用メモ。きれいにまとめる気はない。どシロートなので質問されても何もわからない。

自分の場合は以下で起動するようになった。
いろいろやったので何が効いたのかいまいちわからない。

HAXMがないってエラーがでる

Tools > Android > SDK Manager を開き
SDK Toolsタブの[intel x86 Emulator Accelerator (HAXM installer)]がインストールされていなければインストール

インストール済みになっているのにエラーがでる

intelのHAXMダウンロードサイトでmac用をダウンロードしてインストールする
https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm

こんどはKVMなんたらのエラーがでる。

macの システム環境設定 > セキュリティとプライバシー を開く。
[ダウンロードしたアプリケーションの実行許可]の下の方に intel なんたらかんたらって出てたので許可をした(許可する前のスクリーンショット撮り忘れた)。
androidStudio emulater 制限解除.png
もしかしたらこの時点で復旧したのかもしれないが。。。

その後、Android Studio の Tools > Android > SDK Manager を開き。
SDK Toolsタブの[intel x86 Emulator Accelerator (HAXM installer)]のチェックを×にしアンインストールして再度インストールで起動するようになった。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4