title: Android Studio doesn't install SDKs... what?
body: <p>I'm trying to use Cordova to build a hello world app and after adding <code>ANDROID_HOME</code> variable (You'd be shocked how long that took to figure out) all I keep seeing when building is this:</p>
  
  <blockquote>
    <p>BUILD FAILED</p>
    
    <p>Total time: 1 mins 6.679 secs Error:
    /Users/vladdy/Desktop/laboratory/cordovaBackgroundApp/platforms/android/gradlew:
    Command failed with exit code 1 Error output: </p>
    
    <p>FAILURE: Build failed
    with an exception.</p>
    
    <ul>
    <li><p>What went wrong: A problem occurred configuring root project 'android'.</p>
    
    <blockquote>
      <p>Failed to find target with hash string 'android-25' in: /Users/vladdy/Library/Android/sdk</p>
    </blockquote></li>
    <li><p>Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
    </ul>
  </blockquote>
  
  <p>Ok fair enough so let's go install it: </p>
  
  <p><a href="https://i.stack.imgur.com/76KlZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/76KlZ.png" alt="enter image description here"></a></p>
  
  <p>Waiting patiently for the install, and same error running <code>cordova build</code>.</p>
  
  <p>I wonder what else we need to install? But look, it seems that Android Studio still has Nougat and 25 available:</p>
  
  <p><a href="https://i.stack.imgur.com/2SlY2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2SlY2.png" alt="enter image description here"></a></p>
  
  <h2>Why is Android Studio not installing anything?</h2>
  
  <p>I can see why PhoneGap Build is so popular...</p>
  
  <h3>Edit:</h3>
  
  <p><code>cordova requirements</code> is now broken reporting the following:</p>
  
  <p><a href="https://i.stack.imgur.com/z4BsD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z4BsD.png" alt="enter image description here"></a></p>
  
  <p>My <code>~/.bash_profile</code>:</p>
  
  <p><code>export ANDROID_HOME=/Users/vladdy/Library/Android/sdk/</code></p>