title: Ionic 3 Android build error
body: <p>I am using Ionic 3. Right now I'm trying to do <code>ionic cordova build android</code> , but I get <strong>TypeError: env.runcmd is not a function</strong> (please see the photo attached).</p>
  
  <p><a href="https://i.stack.imgur.com/3XQah.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3XQah.png" alt="the screenshot"></a></p>
  
  <p>I tried to:
  <br>-> <code>ionic cordova platform rm android</code> then <code>ionic cordova platform add android</code> then again build android again
  <br>-> delete <code>node_modules</code> folder and do <code>npm install</code> then build android again</p>
  
  <p>But none of them helped it...</p>
  
  <p>My <code>ionic info</code> output:<br>
  <a href="https://i.stack.imgur.com/a2SP7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/a2SP7.png" alt="enter image description here"></a></p>