A lot of people have experienced bugs with running Android Studio on Windows 7/8 and have no idea why the program "simply doesn't run", now that it was announced in Google I/O. A lot of people are experiencing this issue because they have not set their JAVA_HOME variable, or don't have the JDK, so this covers both of those issues.
Go here to install Android Studio.
After installation, it just seems like nothing happens, and if you are an astute observer, you might see two command prompts open in the task manager that just seem to hang.
These are the steps you should follow:
Go here to install Android Studio.
After installation, it just seems like nothing happens, and if you are an astute observer, you might see two command prompts open in the task manager that just seem to hang.
These are the steps you should follow:
- Navigate to C:\Program Files\Java\
- See if there is a folder called jdk../ (the two dots stand for whatever version you are running, etc)
- If there is not, you need to install the JDK before running Android Studio, from here.
- NOTE: If you are running 64 bit, and you have the 32 bit JDK, you may run into trouble, just install the latest 64 bit JDK version if you do not have it.
- Now, you need to set your JAVA_HOME path, which will allow Android Studio to run, and not mysteriously open and close without you seeing any of its beauty.
- Right click your Computer icon, and click Properties.
- Windows 8 Users: Then click Advanced System settings to your left.
- Now, go to the advanced tab, click Environment variables, under system variables, click New, and add a JAVA_HOME variable, it should look like this (relative to your jdk version, if its the latest it should be identical).
Once you have completed this, you should be good to go. Launch Android Studio and bathe in its glory.
Props to all the work Google is releasing, I feel like a child in a playground that goes on forever.
Cheers.
Daniel.