title: Unable to launch Android Studio
body: <p>I installed  Android Studio a month ago and it worked successfully and  I was using <strong>windows 7(64bit)</strong>  Then I setup a new <strong>windows 7 (32bit)</strong> and  I reinstalled the <strong>JDK</strong> and <strong>Android Studio</strong> and  I even downloaded the latest version of  <strong>Android Studio</strong> but it didn't work.</p>
  
  <p>First, a message pop up to set <strong>environment variables</strong>  which I did, then i I opened Android Studio again and another message appeared :</p>
  
  <blockquote>
    <p><strong>Could not find main class com/intellij/idea/main</strong></p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/6ZmLA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6ZmLA.png" alt="enter image description here"></a></p>
  
  <p>I searched about that problem and found that the solution is to add  <strong>JAVA_HOME</strong> with value </p>
  
  <blockquote>
    <p><strong>C:\Program Files\Java\jdk1.8.0_101</strong></p>
  </blockquote>
  
  <p>Then, I opened it again and it didn't work and no messages appeared. I tried to run the SDK but an error massage appeared:</p>
  
  <p><a href="https://i.stack.imgur.com/rsowQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rsowQ.png" alt="enter image description here"></a></p>