# Exit code 1 with emulate

**URL:** <https://forum.ionicframework.com/t/exit-code-1-with-emulate/109406>\
**Category:** cordova\
**Created:** [October 19, 2017, 10:01pm UTC](https://forum.ionicframework.com/t/exit-code-1-with-emulate/109406 "2017-10-19T22:01:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![godefroid](https://avatars.discourse-cdn.com/v4/letter/g/5daacb/32.png) [@godefroid](https://forum.ionicframework.com/u/godefroid)\
**Post date:** [October 19, 2017, 10:01pm UTC](https://forum.ionicframework.com/t/exit-code-1-with-emulate/109406/1 "2017-10-19T22:01:17Z")

</div>

Hi I get this message **An error occurred while running cordova emulate android (exit code 1)**

When I run this commande : ionic cordova emulate android.

I get the same error message if I want emulate on Ios.

How to fix it ?

Thank you
