Run Ionic 3 in Visual Studio Emulator for Android

I’m using Ionic CLI 3.2.0. Here is my ionic info result:

global packages:

    @ionic/cli-utils : 1.2.0
    Ionic CLI        : 3.2.0


    Node       : v7.10.0
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed

I’d like to run the Ionic 3 app in any Android emulator. Due to my laptop need Hyper-V feature be enabled. I can’t turn it off. So I tried to execute ionic cordova run android and wanted to deploy my Ionic App into Visual Studio Emulator for Android. I’m struggling with it for a while and just don’t know how to configure it. Does anyone could help?


1 Like

I’ve wrote an short Tutorial for this on my Blog but it’s written in german so it’s might not be very useful. In short you have to download and install the Android SDK Platform Tools and connect the Visual Studio Emulator with the Android Debug Bridge, which is included in the Platform tools:

  1. Open CMD
  2. go to %localappdata%\Android\sdk\platform-tools (you should see the adb.exe there when Platform Tools was installed correctly)
  3. type adb.exe connect [Emulator Ip Address]
  4. run ionic cordova run android

I hope it helps, even if your question is nearly one year old.