LoginSignup
0
1

More than 5 years have passed since last update.

[めも]Android SDK Managerで、Intel x86 Emulator Accelerator (HAXM... がNot compatible with Windowsなどの表示になる場合

Last updated at Posted at 2017-06-16

現象:Intel x86 Emulator Accelerator (HAXM... がNot compatible with Windowsと表示される

Rev.(リビジョン)は、実際にインストールされているバージョンによらず、6.1.1と表示される (別のバージョンの場合もあります)

※実際のバージョン(intelhaxm-android.exeに設定されている値)は6.0.5や6.0.6など。

Android SDK Managerからは、インストールもデリートもできない

※(Android SDK)\extras\intel\Hardware_Accelerated_Execution_Managerにあるのは、古いもの。
(intelhaxm-android.exe を右クリック>プロパティ>詳細で、バージョンを確認できます。)
最新版は、Program Filesの中にインストール先が変更されています。

対処法:Intelのダウンロードページから最新版を取得する

ダウンロードページ
Intel® HAXM

※インストールガイドも、目を通しておいた方がよいかと思います。

メモリの割り当てを変えたい場合も、再度インストーラを走らせます。

Adjusting Intel HAXM Memory Allocation
To change the amount of memory allocated to Intel HAXM, run the installer again.

サービスの停止/開始が必要

確認用

sc query intelhaxm

停止

sc stop intelhaxm

開始

sc start intelhaxm

環境変数をセット(必要??)

Tips and Tricks
Make sure the "ANDROID_SDK_ROOT" environment variable is set

バージョンの確認方法

Android Studio - Configure Hardware Acceleration for the Android Emulator
Determining whether HAXM or KVM is installed
に、コマンドが載っています。

./sdk/tools/emulator -accel-check

蛇足: コマンドラインからをエミュレータ起動しようとした時に、Emulator error: This AVD's configuration is missing a kernel fileが出る場合

Tips and Tricks にある

%ANDROID_SDK_ROOT%\tools\emulator –avd <avd_name> -verbose –show-kernel

を実行した時に、エラー(configuration is missing a kernel file)が出る場合は、
の所で、誤ってパスを入力していないか確認しましょう。
(具体的には、emulator -list-avdsで出てくる名前になっているかを確認。)
システムイメージがダウンロードされていない場合もあるようですが、今までAndroid StudioからAVDを起動できていた環境なら、通常はダウンロード済みかと思います。

エラーの例

emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is undefined

※ANDROID_SDK_ROOTの行は、あまり参考にならなかったりします。(色々変えて試しても、表示は変わりません)

参考資料

Stackoverflow - I can't install intel HAXM
Stackoverflow - The intel x86 emulator accelerator (HAXM installer) revision 6.0.5 is showing not compatible with windows

Stackoverflow - Emulator error: This AVD's configuration is missing a kernel file
Stackoverflow - Cannot run emulator in Android Studio

0
1
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
0
1