Running command: /Users/swizard/Documents/dev/ionic/q-metro/hooks/after_prepare/010_add_platform_class.js /Users/swizard/Documents/dev/ionic/q-metro
add to body class: platform-android
ANDROID_HOME=/Users/swizard/Documents/dev/android-sdk-macosx
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home
No emulator specified, defaulting to android1
Waiting 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

  就不会出现问题了

相关文章:

  • 2021-07-08
  • 2022-12-23
  • 2021-08-10
  • 2021-04-06
  • 2021-06-26
  • 2021-06-13
  • 2021-06-12
猜你喜欢
  • 2021-06-26
  • 2021-12-18
  • 2021-11-15
  • 2021-09-15
  • 2021-09-22
相关资源
相似解决方案