iMac:myApp isathish$ sudo ionic emulate android
Updated the hooks directory to have execute permissions
Running command: /Users/isathish/myApp/hooks/after_prepare/010_add_platform_class.js /Users/isathish/myApp
add to body class: platform-android
Running command: /Users/isathish/myApp/platforms/android/cordova/run --emulator
ANDROID_HOME=/Users/isathish/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
/Users/isathish/myApp/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
ERROR : No emulator images (avds) found.
- Download desired System Image by running: /Users/isathish/Library/Android/sdk/tools/android sdk
- Create an AVD by running: /Users/isathish/Library/Android/sdk/tools/android avd
HINT: For a faster emulator, use an Intel System Image and install the HAXM device driver
Error: /Users/isathish/myApp/platforms/android/cordova/run: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/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)