Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Genymotion emulator with Ionic framework

I've downloaded and installed genymotion and created and built my ionic application.

When I try to run the genymotion emulator using the following command:

ionic run android

I get the following response:

No target specified, deploying to emulator
No emulator specified, defaulting to Nexus_5_API_21_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!

The emulator is not working. Any ideas?

like image 810
Sandro Palmieri Avatar asked May 30 '15 09:05

Sandro Palmieri


1 Answers

It's because ionic sees Genymotion AVD's as physical devices. So instead of using

$ ionic emulate android

use (note that you need to have the Genymotion AVD running)

$ ionic run android
like image 107
JW_ Avatar answered Oct 23 '22 18:10

JW_