Android Studio does not launch after installation [duplicate]
Asked Answered
K

1

38

I've just downloaded the new Android Studio IDE released today, and installed it. When I double-click the icon to launch it, nothing happens. I've tried every shortcut to it, as well as the .exe in the installation folder.

I've also tried restarting the machine, uninstalling / restarting, and installing to a folder location without spaces. Does someone know why Android Studio won't start?

Kayleen answered 15/5, 2013 at 20:38 Comment(11)
Does Google support this product? Also, I'm hearing anecdotal reports that it won't run on Windows 8. chat.stackoverflow.com/rooms/15/androidWoodworth
A lot of people are having issues #16574689Sludge
Did you try admin run?Jocund
yeah I tried admin run. I'll try the solutions in the other issue, and then close this as a duplicate if necessary.Kayleen
Yup, adding the JDK_HOME setting to my Java 1.7 directory fixed it. I'll vote to close as a duplicate.Kayleen
Please see the following Thread i have started, Alot of people have resolved their issues including myself. https://mcmap.net/q/46643/-android-studio-installation-on-windows-7-fails-no-jdk-foundAntiphon
By the way @RobertHarvey, Android Studio is the new official IDE for android development. It was announced at Google I/O this morning.Kayleen
Yes, I have the link. Awesome.Woodworth
Hey, it is not a duplicate, the other question is about install problems, this one is about issues AFTER the installSurprise
Do we have to brace for a flood of question from folks who want to run an unsupported alpha product now?Torp
We're aware of the issue and working on it. I've added a Known Issue and a workaround here yesterday in the meantime: tools.android.com/knownissues#as0.1Snowball
K
54

I set my JDK_HOME environment variable to point to my Java (1.7) JDK path, and it worked.

My JDK path was:

c:\Program Files\Java\jdk1.7.0_21

but it will vary depending on the version of your JDK.

For directions in setting PATH variables for windows see: http://java.com/en/download/help/path.xml

Kayleen answered 15/5, 2013 at 22:55 Comment(6)
My google skills are failing me...how do I edit the "JDK_HOME" variable? As in where is it located? I have Java(1.7) installedTaction
Go to the Environment Variables (Control Panel -> System -> Advanced System Settings -> Advanced (tab) -> Environment Variables). Then add JDK_HOME with the correct path under System Variables.Outland
Also, note it isn't enough to add java home to the PATH variable, it is mandatory to create JDK_HOMESurprise
Looks like smart screen on windows 8 is the problemCadmarr
For those who are on Linux Systems, make sure your desktop file contains this line: Exec=JDK_HOME="/usr/lib/jvm/icedtea-7/" /path/to/your/.../android-studio/bin/studio.sh Replace the JDK_HOME path to whatever yours is.Protist
Worked like a charm :)Peltate

© 2022 - 2024 — McMap. All rights reserved.