创建Android项目后,点击运行,发现模拟器无法启动,并且报错:
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
第二个是warning暂时可以忽略,主要是第一个问题导致我无法调试,而且我的手机并非安卓,无法使用真机。
查找资料后发现,应当下载一个intel-haxm的安装包。下载地址:https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm
安装后再启动Intellij Idea的时候,运行项目,就发现可以启动Emulator了。