まぁ、つまらないものですが

エンジニニャーの気ままな技術ブログ、日々のログを残してゆきます。

MacでAndroidエミュレーターが動かなかったときにやったこと

「MacBookProでAndroid開発頑張るぞい」って行った矢先エミュレーターが動かなくて出鼻をくじかれた

内容として

Hax is enabled
Hax ram_size 0x20000000
HAX is working and emulator runs in fast virt mode.
emulator: Listening for console connections on port: 5556
Failed to sync vcpu reg
emulator: Serial number of this emulator (for ADB): emulator-5556
Failed to sync vcpu reg
emulator: ERROR: Unfortunately, there's an incompatibility between HAXM hypervisor and VirtualBox 4.3.30+ which doesn't allow multiple hypervisors to co-exist.  It is being actively worked on; you can find out more about the issue at http://b.android.com/197915 (Android) and https://www.virtualbox.org/ticket/14294 (VirtualBox)
Failed to sync vcpu reg
Failed to sync vcpu reg
Failed to sync vcpu reg
Internal error: initial hax sync failed

といったもの調べてみるとVirtualBox系の仮想環境とは相容れないということらしい。
とりあえず

  • VirtualBoxを使ってなかったのでアンインストール
  • Dockerを止める

を行ったが、変化なしベイグラントなども入れてないのでアクティビティモニタで悪さしてないのを探したら「VBox…」から始まるいかにもなやつがいたので動作を停止。
無事起動しました

相互リンク

  • 技術ブログ:ヤモト.tvp
  • 友人氏の技術ブログ 数学ガチ勢がエンジニアになっていく奮闘記