Ionic emulate android Error on Mac Os X


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

throw e;
ERROR : No emulator images (avds) found.

  1. Download desired System Image by running: /Users/isathish/Library/Android/sdk/tools/android sdk
  2. 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)


You need to create an AVD first.


done . i resolved this issues because of my app located in out of my user directory like /user/user_name/doc…/appfolder but i made mistake like /appfolder so android emulater not pointed into the particular user directory.

i finally understand this problem. thanks friends.