title: Ionic Android Build Error: cmd: Command failed with exit code 1 [solution]
body: <p>I'm new to coding and also Ionic, but here is a solution to an issue that I faced, with an explanation for my situation.</p>
  
  <p>I tried to <code>ionic build android</code> but it gave out an error message that ended with <code>Command failed with exit code 1</code></p>
  
  <p>The fix would be to <code>ionic platform remove android</code> and then add it back again with <code>ionic platform add android</code>. </p>
  
  <p>Where it went wrong, I think, is that I updated my android's xml manifest, to update the name for the app. So if you did the same, this will definitely solve it for you.</p>
  
  <p>Maybe someone out there can explain further, and point out a workaround that doesn't require removing the platform.</p>