title: How to install Repository com.android.support:appcompat-v7
body: <p>I have an error in my gradle script:</p>
  
  <p><a href="https://i.stack.imgur.com/HbaBS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HbaBS.png" alt="enter image description here"></a></p>
  
  <p>In my app (gradle) I have:</p>
  
  <pre><code>buildToolsVersion "25.0.2"
  </code></pre>
  
  <p>How can I install the corresponding appcompat lib ? When tryping to add ...</p>
  
  <pre><code>compile 'com.android.support:appcompat-v7:25.0.2'
  </code></pre>
  
  <p>... I get an error and the following picture :</p>
  
  <p><a href="https://i.stack.imgur.com/WLbbq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WLbbq.png" alt="enter image description here"></a></p>
  
  <p>When clicking on the link, nothing happens. 
  Can someone guide me to install the lib ?</p>
  
  <p><strong><em>UPDATE</em></strong>
  Following screenshot shows, I obviously installed the support libraries, but then how can I get rid of the red line ? What about this ?
  I happens sometimes, that when publishing to google play, some libraries are missing. I can't recognize this in my local installation, but after publishing, lots of users reporting class not found. After cleaning and rebuilding and republishing it works. So I like to have a clean gradle script.</p>
  
  <p>Can someone guide me , how I get rid of this red line. Or can we just ignore it ?</p>
  
  <p>I am also not able to start SDK-Manager from 
  C:\Users\andreas\AppData\Local\Android\Sdk\tools\bin directly.</p>
  
  <p>Is it really not possible to solve this ? </p>
  
  <p><a href="https://i.stack.imgur.com/hUKST.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hUKST.png" alt="enter image description here"></a></p>