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:

  • Android WebView: handling orientation changes
  • How to handle :java.util.concurrent.TimeoutException: android.os.BinderProxy.finalize() timed out after 10 seconds errors?
  • recovery the deleted Xml file from app in android
  • Android: Use UUID as primary key in SQLite
  • resValue gradle error: Unsupported type “String” in “generated.xml”
  • Android - Widget with Scrollable Listview Manual Refresh
  • 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?

  • NestedScrollView and WebView height issue
  • is SharedPreferences access time consuming?
  • Android - Storing/retrieving strings with shared preferences
  • Android Studio moving project to another computer?
  • Android: DialogPreference color/style?
  • Error importing HoloEverywhere
  • 3 Solutions collect form web for “Using Genymotion emulator with Ionic framework”

    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
    

    I guess you must have installed “Intel x86 Emulator Accellerator HAXM” (you can find it in Android SDK Manager – Extras) but you haven’t installed IntelĀ® HAXM in your computer.

    It gives you that error cause it is trying to run your Ionic App in the Android Emulator.
    It seems you haven’t configured any device in Genymotion or it is not running.

    Another thing to consider after you have configured a device in Genymotion is to check that you’re using “Genymotion Android Tools”

    enter image description here

    first run Genymotion. then write the command below to watch list of devices attached:

    adb devices
    

    the result would be something like this:

    List of devices attached
    192.168.56.101:5555 device
    

    finally write the command:

    $ ionic run android
    
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.