I am having one cordova application made in ionic framework i want to test it in emulator som fired command ionic emulate android
and it threw following error
Error
Just download the Android Studio and create a virtual machine from there. And run the same command(ionic emulate android
). Everything should work fine if you do this.
If you can't find the avd manager, go to Help -> Find Action -> avd and click on AVD Manager.
In your terminal try run android avd
Create your emulator and try ionic emulate android
again
First of all create the emulator image:
Go to tools folder, i.e: "C:\Users\MyUser\AppData\Local\Android\sdk\tools"
The command is:
android create avd --name thename -k "system-images;android-25;google_apis;x86"
Then emulate:
ionic cordova emulate android
**Make sure to have HAXM accelerator installed: "C:\Users\Myuser\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager"
1) In your command promtp write and enter -android avd-
2) Create your emulator
3) Try -ionic emulate android-