2015年4月29日水曜日

emulator: ERROR: x86 emulation currently requires hardware acceleration!


Androidアプリ開発で、コンパイルするときに、以下のメッセージが表示されることがありませんか?

C:\Users\Zidong\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

あれ?下記のところで、SDK Managerで入れたのに、なんでまた出てくるか?




下記アドレスから、
https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

最新のものを「intelhaxm.exe」ダウンロードして、ダブルクリックでインストールして、さらにAndroid Studioを再起動したら、無事にコンパイル成功して、下記の画面が表示されるようになりました。


初めてのビルドで、ちょっとどきどきしました。カッコいくないですか?まあ、何でもデフォルトで、自分で作ったものではないですが:)











0 件のコメント:

コメントを投稿