title: Running ionic apps in an Android Emulator.
body: <p>I am new in ionic framework,and want to run the app I made into an Android emulator. I type this command,</p>
  
  <pre><code>ionic emulate android
  </code></pre>
  
  <p>and get this error.</p>
  
  <pre><code>Error: cmd: Command failed with exit code 1
  </code></pre>
  
  <p>I have all the path variables set up correctly I think.</p>
  
  <p><strong>PATH</strong></p>
  
  <pre><code>C:\Program Files\Git\usr\local;C:\Users\W\AppData\Roaming\npm\node_modules\bower\bin;C:\Users\Theodosios\AppData\Roaming\npm;C:\Program Files (x86)\Java\jre1.8.0_111\bin
  </code></pre>
  
  <p><strong>JAVA_OPTIONS</strong></p>
  
  <pre><code>-Xmx512M 
  </code></pre>
  
  <p>Any ideas what is wrong and how can it be fixed?</p>
  
  <p>Thanks,</p>
  
  <p>Theo.</p>