Android Studio Not Working in Windows 7 or 8 [FIXED]


Today, Google announced the new Android Studio IDE at its annual Google I/O conference. It looks to be a great improvement over Eclipse, especially when developing apps for different screen sizes such as phones and tablets.

However, if you are running Windows 7 or Windows 8, you may have issues running the application. Several users have reported not being able to run the application after it has been installed. We also had this same problem.

If you are like us, eager developers that want to play with cool, new tools, you can fix this issue by doing the following:

  1. Right click on My Computer, and select Properties.
  2. Click on "Advanced system settings" and go to the "Advanced" tab.
  3. On the bottom, click the "Environment Variables" button. This will bring up the Environment Variables screen, you will see two sections, User Variables (at the top), and System Variables (at the bottom).
  4. Add a system variable with the name JDK_HOME, and the value equal to the path to your JDK install.

Step 4 might differ based on how your system is setup, but as an example, here are the settings that worked for us:
Variable name: JDK_HOME
Variable Value: c:Program FilesJavajdk1.7.0_21


  1. Author's Headshot
    Ryan Whitmire May 15, 2013

    Thank you kindly!

  2. Author's Headshot
    Android Studio, el nuevo IDE para Android | Androcode May 16, 2013

    [...] Importante: Como puede verse en la imagen que encabeza el artículo se trata de una versión preview. Esto quiere decir que no será todo lo estable que deseamos y que esta versión no se recomienda para un entorno de producción. En Windows por ejemplo da problemas, pero podemos solucionarlo (gracias a @DavidGNavas) con lo que proponen en esta página. [...]

  3. Author's Headshot
    Balamurugan May 16, 2013

    Thank you , its working for me Too........

  4. Author's Headshot
    Rhoely Maguire May 16, 2013

    Thank already running

  5. Author's Headshot
    Andres May 16, 2013

    Amazing! Thanks!

  6. Author's Headshot
    Abdulla May 16, 2013


  7. Author's Headshot
    Ron May 16, 2013

    Thanks for this great explanation. i got the Android Studio running now:-) Hopefully I can make a worthwhile app...wish me luck!!!

  8. Author's Headshot
    Marek May 16, 2013

    Thanks work for me

  9. Author's Headshot
    Chethan May 16, 2013

    Thank you....It is working..

  10. Author's Headshot
    SocialFlasher May 16, 2013

    Hi Jonathan Nalewajek thank you so much , can you please tell me how i can change the theme of the editor i got it in the white theme and i love the black one 🙂

    • Author's Headshot
      Wyclef May 18, 2013

      File > Settings > Appearance > Theme

    • Author's Headshot
      Mostafa Salaheldin October 26, 2017


      Guys, while I am installing Android Studio, I was unable to click on Next button with the mouse, I had to use the keyboard to go through the process, also after it is fully setup, I was unable to use mouse clicks with anything with the program but minimize and maximize the program window, just the keyboard so I am able to move and choose in Android studio, I tried like everything, will someone please help me.

      I am using win7 laptop, 16gb ram.

  11. Author's Headshot
    Mahmoud ahmed May 16, 2013

    Thank you, It is Working Now...
    شٌكراَ لك , الطريقة صحيحة وتم تشغيل البرنامج بنجاح

  12. Author's Headshot
    Balamurugan May 17, 2013

    Thanks. It worked.

  13. Author's Headshot
    Dilshan May 17, 2013

    Thanks a lot. It worked well.

  14. Author's Headshot
    Isaac May 17, 2013

    Thanks! It was a great help.

    Happy Android-ing!

  15. Author's Headshot
    mahir May 18, 2013

    Wow. Thanks it work for me

  16. Author's Headshot
    dellz May 18, 2013

    I saw this before i downloaded AS i just booked marked it, and what do you know you're a life saver. cheers bro

  17. Author's Headshot
    Sebastián May 19, 2013

    There are folders that are not generated by a new project, as layout, java, also the main package.
    Work in Windows 7. What's the problem?

  18. Author's Headshot
    kurt May 19, 2013

    Thanks for the help!!!

  19. Author's Headshot
    Rectop May 19, 2013

    Thanks, its work for me!

  20. Author's Headshot
    Ruchil shah May 20, 2013

    thanxx a ton for your great help...

  21. Author's Headshot
    Edeval May 20, 2013

    Thanks from Brazil.

  22. Author's Headshot
    Nobray May 20, 2013

    Thanks, worked.

  23. Author's Headshot
    Tash May 20, 2013

    So now it says my sdk is out of date. I dont want to install eclipse on this machine and only want to run android studio. Is there a way for me to update my Android sdk without exclipse?

  24. Author's Headshot
    Zura May 21, 2013

    Thank you It worked for me too

  25. Author's Headshot
    Diago May 21, 2013

    thx bro....

  26. Author's Headshot
    Brenno Ferrari May 21, 2013

    Thanks a lot!

  27. Author's Headshot
    Vishal Vijay May 22, 2013

    Thanks, worked.

  28. Author's Headshot
    lins louis May 23, 2013

    Thanks it worked..

  29. Author's Headshot
    MRA May 27, 2013

    Thank You! That got it working!

  30. Author's Headshot
    pkshetlie May 27, 2013

    Merci !

  31. Author's Headshot
    David June 6, 2013

    I've followed the JAVA_HOME and JDK_HOME suggestions from here and other sites but still am unable to get AS running. What version of the JDK must I have? I've used Eclipse for years to do Java development so I just assumed my machine was configured correctly.

    • Author's Headshot
      Jonathan Nalewajek June 6, 2013


      I am using JDK 1.7.0u21. This should be the latest JDK available.

  32. Author's Headshot
    Carlos June 21, 2013

    thanks, i figured i didnt had the jdk

    found in this page:

  33. Author's Headshot
    Eduardo August 18, 2013

    This info is OK, but just so you know, if you get the error with msvcr100.dll you will still be having problems starting Android Studio, even after you add the system variables. The first time (I didn't really googled) I thought I fixed it by adding the JDK path, not as a new variable, but editing the "Path" variable that's already created by default on Windows system variables (it separates different folders with the ";" delimiter). This allowed me to initialize Android Studio, but it wasn't stable. It was still buggy and occasionally it wouldn't initialize at all.

    If after adding the JDK_HOME variable you're still having an error message related with msvcr100.dll, you have to download Visual C++ package - 32-bit or 64-bit from Microsoft.

    At the end, I deleted the JDK from the "Path" variable so I would have a clean start. I installed the C++ package, added the JDK_HOME variable, and everything it's working now.

    Visual C++ package - 32-bit:
    Visual C++ package - 64-bit:

    I have Windows 8 - 64-bits.


    • Author's Headshot
      Veron July 19, 2017

      PLease help,followed all instructions but still wont run

  34. Author's Headshot
    Rati Agrawal December 23, 2016

    I’ve followed the JAVA_HOME suggestions from here and other sites but still am unable to get AS INSTALLED.. The version of the JDK I have used is 8. I’ve used Eclipse for years to do Java development so I just assumed my machine was configured correctly.Please help me even I tried with lower Android sdk versions also.

  35. Author's Headshot
    harkamal March 26, 2017

    My android studio is nt runing . Its Giving the error of "setup proxy".let me knw if ny1 knws the solution.

  36. Author's Headshot
    Ahemd April 15, 2017

    I have jdk1.8.0_45 and also set JAVA_HOME in advance system setting , I have 4GB RAM, latest version of AS, Still AS not working , I uninstall and reinstall AS five to six time .. but problem is not solved.... I beginner and Please help me out

  37. Author's Headshot
    Ruksar May 19, 2017

    thanks this will work.

  38. Author's Headshot
    Veron July 18, 2017

    I have jdk1.8.0_45 and also set JAVA_HOME in advance system setting , I have 4GB RAM, and im still not able to fix this. Please help me out

Leave a Reply

Your email address will not be published. Required fields are marked *

Meet the Author

Senior Software Engineer

Jonathan Nalewajek

Jonathan is a Senior Software Engineer who joined Cypress North in 2012 and works out of our Buffalo office. He brings more than 13 years of experience to our development team. 

Jon, known to our team and clients as J2, works closely with our clients to develop strategic solutions for their problems that will fit their internal infrastructure. He specializes in full-stack development using C#, PHP, HTML, CSS, and JavaScript. 

The Buffalo native graduated from SUNY Fredonia with a Bachelor of Science in computer science. Jon later returned to Fredonia to teach a mobile software development course. 

When he’s not at work, Jon loves being active and enjoying the outdoors - whether it’s climbing, hiking, camping, or snowboarding. He also likes woodworking and baking different breads and pizzas. Jon and his wife have a dachshund named Charlie, who Jon considers his best friend.