title: PhoneGap with Android-SDK 4.4
body: <p>I'm running <code>npm phonegap -g</code> following <a href="http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20Guide" rel="nofollow">this tutorial</a>. Everything is fine, but when I run:</p>
  
  <pre><code>&gt;cordova platform add android
  &gt;phonegap build android
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>[error] Please install Android target 17 (the Android 4.2 SDK). Make sure you
  have the latest Android tools installed as well. Run `android` from your comman
  d-line to install/update any missing SDKs or tools.
  </code></pre>
  
  <p>The Android SDK <a href="http://developer.android.com/sdk/index.html" rel="nofollow">site</a> is using Android 4.4 and API lvl Android 19.</p>
  
  <p>How can I update NPM, PhoneGap, and Cordova to use the latest version of Android?</p>