title: Error: ANDROID_HOME is not set and "android" command not in your PATH on OS X
body: <p>I am getting this error in terminal when attempting to execute this command:</p>
  
  <pre><code>$ cordova platform add android
  </code></pre>
  
  <p>I read these answers here:</p>
  
  <p><a href="https://stackoverflow.com/questions/26701176/error-android-home-is-not-set-and-android-command-not-in-your-path-you-must">Error: ANDROID_HOME is not set and &quot;android&quot; command not in your PATH. You must fulfill at least one of these conditions</a></p>
  
  <p><a href="https://stackoverflow.com/questions/26216081/android-home-is-not-set-and-android-command-not-in-your-path-phonegap">ANDROID_HOME is not set and &quot;android&quot; command not in your PATH Phonegap</a></p>
  
  <p>however I don't know where to place the code they provide.</p>
  
  <p>I am running OS X.</p>