ERROR : No emulator images (avds) found thrown on windows 8 while opening emulator

Shaggie picture Shaggie · Jun 6, 2015 · Viewed 75.3k times · Source

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 coming on Git Bash command prompt while running command ionic emulate android.

Error:

c:\Users\work\biziHiveMobile\platforms\android\cordova\node_modules\q\q.js:126
                throw e;
                      ^
ERROR : No emulator images (avds) found.
1. Download desired System Image by running: c:\Users\work\AppData\Local\Android\android-sdk\tools\android.BAT sdk
2. Create an AVD by running: c:\Users\work\AppData\Local\Android\android-sdk\tools\android.BAT avd
HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver

Error: c:\Users\work\biziHiveMobile\platforms\android\cordova\run.bat:  Command failed with exit code 1 
at ChildProcess.whenDone (c:\Users\work\AppData\Roaming \npm\node_modules\cor
dova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

This error is coming on windows 8 PC. I have updated my android SDK to latest version. I have also added emulator accelerator into it from extras of android sdk. STill this error is coming. Anyone knows how to resolve it on windows PC

Answer

dale picture dale · Jun 6, 2015

In your terminal try run android avd

Create your emulator and try ionic emulate android again