5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac OS High Sierra(10.13)でエミュレータが起動しない問題をとりあえず解決する方法

Posted at

概要

  • Mac OS High Sierra(10.13)でエミュレータが起動しない問題が起きたのですが、API
    Level26であれば解消できたのでその方法の共有です

問題の内容

  • AVD ManagerでHAXMをインストールしようとすると以下のエラーが出て失敗します。
Running Intel® HAXM installer

HAXM silent installation only supports macOS from 10.8 to 10.12 !

Done

なんてこった...

解決方法

issuetrackerに書いてある方法で解決しました。

Try running the emulator on Canary channel 26.1.x (API 25/26 recommended) with Hypervisor.Framework; 
put the text "HVF = on" in ~/.android/advancedFeatures.ini 
(create this file if it doesn't exist already).

やったこと

  • Android Emulatorは最新版をインストール
  • ~/.android/advancedFeatures.iniを作成
$ cat ~/.android/advancedFeatures.ini
HVF = ON
  • AVD Managerを開いてエミュレータを作成する
    • system imageはAPI Levelが26のものを選ぶ
  • 成功

解決できていないこと

  • API Levelが25以下だと起動しないです...
failed to initialize HAX: Operation not supported by device
  • 解消できる方法があれば教えてくださいmm
5
4
1

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?