I'm building an Android app with Ionic Framework, and am trying to run it on a real device with USB debugging, like in these tutorials:
Step-1
$ ionic platform add android
$ ionic build android
After adding the Android platform and building an APK with the above commands, it works correctly with no error. So, I try the next step:
Step-2
I connected device and PC via Debugging mode to run android devices. I ran the command ionic run android
. I get the below error messageL
$ ionic run android
ANDROID_HOME=C:\Android\sdk JAVA_HOME=C:\Program Files\java\jdk1.8.0_25 WARNING : No target specified, deploying to emulator WARNING : no emulator specified, defaulting to Nexus_5_API_23_x86 Waiting for emulator... 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!
How can I solve this problem?
List of my ionic info:
$ ionic info
Your system information: Cordova CLI: 5.4.1 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.0 Ionic Version: 1.2.4 Ionic CLI Version: 1.7.13 Ionic App Lib Version: 0.6.5 OS: Windows 8.1 Node Version: v4.2.4