title: Error executing command 'ant' on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova
body: <p>Today I tried PhoneGap/Cordova with <strong>Mac OS X Mavericks</strong>. Building for iOS went just fine, but building for Android wasn't without some guesswork.</p>
  
  <p>I installed Android 4.2.2 via the Android SDK Manager (I had to use the older <strong>API v17</strong> since it wasn't compatible with a newer one), added the <strong><code>PATH environment variables</code></strong> for the SDK's <code>platform-tools</code> and <code>tools</code> and thought I was ready to take off by running the command: </p>
  
  <pre><code>phonegap run android
  </code></pre>
  
  <p>Nevertheless, I got the following error:</p>
  
  <pre><code>[phonegap] detecting Android SDK environment...
  [phonegap] using the local environment
  [phonegap] adding the Android platform...
  <b>[error] An error occured during creation of android sub-project. ERROR : executing command 'ant', make sure you have ant installed and added to your path.</b></code></pre>