Back to Blog

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

May 15, 2013

By Jon Nalewajek
38 Comments

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

Jon Nalewajek

Jon Nalewajek

Not only is Jon largely responsible for mobile application development at Cypress North, but he also plays a role in developing custom ASP.NET and PHP solutions. Whether it is creating web services, custom web components for your website, or helping you build your next big mobile app, Jon has you covered.

See Jon's Most Recent Posts

Share this post

38 comments

Ryan Whitmire May 15, 2013Reply

Thank you kindly!

Android Studio, el nuevo IDE para Android | Androcode May 16, 2013Reply

[…] 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. […]

Balamurugan May 16, 2013Reply

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

Rhoely Maguire May 16, 2013Reply

Thank you…is already running

Andres May 16, 2013Reply

Amazing! Thanks!

Abdulla May 16, 2013Reply

Thanks.

Ron May 16, 2013Reply

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

Marek May 16, 2013Reply

Thanks work for me

Chethan May 16, 2013Reply

Thank you….It is working..

SocialFlasher May 16, 2013Reply

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 🙂

Wyclef May 18, 2013Reply

File > Settings > Appearance > Theme

Mahmoud ahmed May 16, 2013Reply

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

Balamurugan May 17, 2013Reply

Thanks. It worked.

Dilshan May 17, 2013Reply

Thanks a lot. It worked well.

Isaac May 17, 2013Reply

Thanks! It was a great help.

Happy Android-ing!

mahir May 18, 2013Reply

Wow. Thanks it work for me

dellz May 18, 2013Reply

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

Sebastián May 19, 2013Reply

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?
Thanks

kurt May 19, 2013Reply

Thanks for the help!!!

Rectop May 19, 2013Reply

Thanks, its work for me!

Ruchil shah May 20, 2013Reply

thanxx a ton for your great help…

Edeval May 20, 2013Reply

Thanks from Brazil.

Nobray May 20, 2013Reply

Thanks, worked.

Tash May 20, 2013Reply

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?

Zura May 21, 2013Reply

Thank you It worked for me too

Diago May 21, 2013Reply

thx bro….

Brenno Ferrari May 21, 2013Reply

Thanks a lot!

Vishal Vijay May 22, 2013Reply

Thanks, worked.

lins louis May 23, 2013Reply

Thanks it worked..

MRA May 27, 2013Reply

Thank You! That got it working!

pkshetlie May 27, 2013Reply

Merci !

David June 6, 2013Reply

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.

Jonathan Nalewajek June 6, 2013Reply

David,

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

Carlos June 21, 2013Reply

thanks, i figured i didnt had the jdk

found in this page:
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Eduardo August 18, 2013Reply

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: http://www.microsoft.com/download/en/details.aspx?id=5555
Visual C++ package – 64-bit: http://www.microsoft.com/en-us/download/details.aspx?id=14632

I have Windows 8 – 64-bits.

Cheers.

Rati Agrawal December 23, 2016Reply

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.

harkamal March 26, 2017Reply

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

Ahemd April 15, 2017Reply

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

Leave a Reply

Search our blog

Start A Project

Categories

What's next?

Well...you might like one of these

Article

Buffalo Niagara Medical Campus Launches...

It's always fun when I get to share two of our favorite...

Read article

Article

Bing Ads Optimization: A Crucial...

Are your Bing Ads underperforming? Hopefully you've applied...

Read article

Article

Our Go-To (Free!) Tools To Uncover A...

I'll admit it, I'm guilty. When on a conference call and...

Read article