--- lang: ja-jp breaks: true --- # Android Studio のインストールで、`Intel® HAXM installation failed.` 2021-07-28 ## `Intel® HAXM installation failed. To install Intel® HAXM follow the instructions found at: https://github.com/intel/haxm/wiki/Installation-Instructions-on-Windows`  > Installation Instructions on Windows > https://github.com/intel/haxm/wiki/Installation-Instructions-on-Windows > intel/haxm > https://github.com/intel/haxm > HAXM v7.7.0 > https://github.com/intel/haxm/releases/tag/v7.7.0 > haxm-windows_v7_7_0.zip > https://github.com/intel/haxm/releases/download/v7.7.0/haxm-windows_v7_7_0.zip ## haxm-7.7.0-setup.exe をインストールするとエラーが発生  Android Studio → Configure → SDK Manager → Android SDK → SDK Tools を見ると、`Intel x86 Emulator Accelerator(HAXM installer)7.6.5 installed` となっている。 インストール済み??  ## Android Studio をアンインストールして、再インストールしたところ正常にインストールが完了した。なんだ?? ## Intel プロセッサ搭載されており、Android Emulator と同時に Hyper-V を実行する必要がある場合は、`WHPX を使用します`とのこと。 > Windows でハイパーバイザを選択する > https://developer.android.com/studio/run/emulator-acceleration?hl=ja > > Windows Hypervisor Platform を使用する VM アクセラレーションを設定する > WHPX を有効にするには、コンピュータが次の要件を満たしている必要があります。 > * Intel プロセッサ: Virtualization Technology(VT-x)、Extended Page Tables(EPT)、Unrestricted Guest(UG)機能のサポート。コンピュータ BIOS 設定で VT-x を有効にする必要があります。 > * April 2018 Update 以降の更新プログラムを適用した Windows 10 ## Windows Hypervisor Platform のインストール  ## WHPX で動作しているかどうかの確認 > Windows Hypervisor PlatformによるアクセラレーションでAVDを動かす > https://qiita.com/keicha_hrs/items/455ee2f2cef36e9c6e1c ```shell= C:\Windows\system32>systeminfo ホスト名: XXXXXXXX OS 名: Microsoft Windows 10 Enterprise OS バージョン: 10.0.19043 N/A ビルド 19043 OS 製造元: Microsoft Corporation OS 構成: スタンドアロン ワークステーション OS ビルドの種類: Multiprocessor Free ~・・・~ [12]: Hyper-V Virtual Ethernet Adapter 接続名: vEthernet (Default Switch) DHCP が有効: いいえ IP アドレス [01]: 172.29.80.1 [02]: fe80::553c:683c:e98d:e71b Hyper-V の要件: ハイパーバイザーが検出されました。Hyper-V に必要な機能は表示されません。 ``` ```shell= %USERPROFILE%\AppData\Local\Android\Sdk\emulator\emulator.exe -accel-check accel: 0 Please disable Hyper-V before using the Android Emulator. Start a command prompt as Administrator, run 'bcdedit /set hypervisorlaunchtype off', reboot.WHPX (10.0.19043) is installed and usable. accel ``` ###### tags: `Android` `Android Studio` `Intel HAXM`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up