title: Please install Android target: "android-21" but it is installed?
body: <h2>My problem</h2>
  
  <p>I have been using the Tools for Apache Cordova template in visual studio to build an app it has been working for me for like two months no problem at all but then suddenly yesterday after I built it like 6 times it just stopped working.</p>
  
  <p>In VS you get some really bad build errors that don't tell you much about the problem like:</p>
  
  <blockquote>
    <p>Severity  Code    Description Project File    Line    Source
    Error       C:\Konstruktion\MyFirstApp\MyFirstApp\MyFirstApp\platforms\android\cordova\build.bat: Command failed with exit code 1   MyFirstApp  C:\Konstruktion\MyFirstApp\MyFirstApp\MyFirstApp\ERROR building one of the platforms    1   Build</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>Severity  Code    Description Project File    Line    Source
    Error       C:\Konstruktion\MyFirstApp\MyFirstApp\MyFirstApp\platforms\android\cordova\build.bat: Command failed with exit code 1   MyFirstApp  C:\Konstruktion\MyFirstApp\MyFirstApp\MyFirstApp\MDAVSCLI   1   Build</p>
  </blockquote>
  
  <p>So I did try to build it without the help of visual studio with just the CMD commands this was the error I then got:</p>
  
  <pre><code>[Error: Please install Android target: "android-21"]
  Hint: Open the SDK manager by running C:\Users\username\AppData\Local\Anndroid\sdk\tools\android.BAT
  You will require:
  1. "SDK Platfrom" for android-21
  2. "Android SDK Platform-tools (latest)
  3. "Android SDK Build-tools (latest)]
  Error: cmd: Command failed with exit code 2
  at ChildProsses.whenDone (C:\Users\myUsername\AppData\Roming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:134:23)
  at ChildProcess.emit (events.js:110:17)
  at mybyClose (child_process.js:1015:16)
  at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
  </code></pre>
  
  <p>(This is handwritten sens I don't know how copy to the entire output from cmd if you know I can update the question).</p>
  
  <h2>Things I have tried so far</h2>
  
  <ol>
  <li>re-install the asked tools and sdk platforms via SDK manager</li>
  <li>re-install the entire sdk</li>
  <li><a href="https://stackoverflow.com/questions/30829205/visual-studio-2015-rc-cordova-build-bat-error-please-install-android-target">this Stack Overflow question</a></li>
  </ol>
  
  <h2>What will I try today?</h2>
  
  <ol>
  <li>The awesome solutions readers can come up with!</li>
  <li>Install everything on a different computer and try there</li>
  <li>Try it on windows-10 (like that will help)</li>
  </ol>
  
  <h2>Images</h2>
  
  <p><a href="https://i.stack.imgur.com/lJS2S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lJS2S.png" alt="From the sdk where it says I have installed android-21"></a></p>