Running command: /Users/swizard/Documents/dev/ionic/q-metro/hooks/after_prepare/010_add_platform_class.js /Users/swizard/Documents/dev/ionic/q-metroadd to body class: platform-androidANDROID_HOME=/Users/swizard/Documents/dev/android-sdk-macosxJAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/HomeNo emulator specified, defaulting to android1Waiting for emulator...emulator: ERROR: x86 emulation currently requires hardware acceleration!Please ensure Intel HAXM is properly installed and usable.CPU acceleration status: HAX is not installed on this machine (/dev/HAX is missing).
如果出现如下问题说明Intel x86 Emulator Accelerator (HAXM Installer) 没有被安装。
运行android skd 打开sdk manager, 安装 Intel x86 Emulator Accelerator (HAXM Installer) 直至 installed 状态。
这时回到命令行
到 android-sdk-macosx/extras/intel/Hardware_Accelerated_Execution_Manager目录下 执行
./silent_install.sh
再次执行
ionic emulate android
就不会出现问题了