title: OS X Yosemite - Android Stuio wont start SDK Manager and can't execute gradle
body: <p>I’m using MacBookPro OSX YOSEMITE 10.10.3</p>
  
  <p>Till yesterday I was a happy Android Studio user with no complaints. But,
  since yesterday Android Studio is making unintelligible trouble. </p>
  
  <p><strong>1. It’s not possible to start SDK Manager</strong>. </p>
  
  <p>Every time I try to start it from Tools > Android > SDK Manager this happens:</p>
  
  <p><img src="https://i.stack.imgur.com/6Nlbb.jpg" alt="enter image description here"></p>
  
  <p><strong>2. The next issue comes with Gradle.</strong></p>
  
  <p>Every time I run my app this pops up:</p>
  
  <p><img src="https://i.stack.imgur.com/9CQno.jpg" alt="enter image description here"></p>
  
  <p>My JAVA_HOME is: </p>
  
  <pre><code>$JAVA_HOME
  -bash: /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home:
  </code></pre>
  
  <p>I’ve reinstalled the Android Studio and JRE, Java SDK and Android SDK several times. Nothing changed. Getting same alerts as you see on the pictures.</p>
  
  <p>I’ve also tried <a href="https://stackoverflow.com/a/28483897/967053">this solution</a> with no success.</p>
  
  <p>Do you have any Idea how to fix this problem!?</p>