Android studio does not run in Windows 8. I download it, install, but when i press on icon to run it - nothing happens. I try to run with admin. I try to set compatibility with Windows 7.
For debugging it is very helpful to start C:\Program Files (x86)\Android\android-studio\bin\studio.bat
.
That points out what is wrong. In my case I had to update my JDK_HOME
environment variable to point to the currient installation.
From the android documentation (this part was published after I wrote my answer):
Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable
JAVA_HOME
that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.7.0_21
.
The launcher is not finding your JDK setup. Make sure you have correctly set one of these environment variables: ANDROID_STUDIO_JDK
, JDK_HOME
, JAVA_HOME
© 2022 - 2024 — McMap. All rights reserved.
JDK_HOME
environment variable to point to your Java installation. – Tubule