I just download Android Studio for Windows 7, the wizard went ok up to the end but now when I click on the shortcut or on the .exe to start the program nothing happens, no error, no new window, it's seems like it is doing nothing. Do you have any suggestion?
-
1possible duplicate of [Android Studio installation on Windows 7 fails, no JDK found](http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found) – laalto May 16 '13 at 12:26
-
2I don't think this should be closed. The installation *didn't* fail, and there was no clue that "no JDK found" was the cause. The title of this question is *not* a duplicate of the other one. – UncleZeiv May 18 '13 at 14:39
-
@UncleZeiv the main part of the flagged duplicate question is, "However, when attempting to launch the application from the desktop icon, nothing happens". This is an almost identical problem. – James Donnelly May 22 '13 at 16:39
-
For Windows 7 all Android Studio versions since 2022 don't work with symptoms like no Java SDK, JAVA_HOME, etc Don't waste the time - downgrade the version to Android Studio 4.0. – Denis Feb 05 '22 at 20:59
16 Answers
It's a bug of Android Studio 0.1v
You should add JAVA_HOME
to the system environment variables.
http://tools.android.com/knownissues#as0.1
- Open Start menu > computer > System Properties > Advanced System Properties
- In the Advanced tab > Environment Variables, add new system
variable
JAVA_HOME
that points to your JDK folder, for exampleC:\Program Files\Java\jdk1.7.0_21

- 2,813
- 25
- 32

- 701
- 6
- 6
-
And do you know how to solve the bug of the double icon on the taskbar? – Luigi Tiburzi May 16 '13 at 08:21
-
1
- Install latest Java Development Kit.
- Set path in system variables for Java (ie *C:\Program Files\Java\jdk1.7.0_21\bin*)
- Set JDK_HOME system variable (ie *C:\Program Files\Java\jdk1.7.0_21*)
- If not working, set JAVA_HOME in system variable too (ie *C:\Program Files\Java\jdk1.7.0_21*)
- If not working, check if you don't have spaces at the ends of the lines in system variables (PATH, JDK_HOME, JAVA_HOME)
You don't have to restart computer after changing system variables, just reload command prompt (if you are using it).
If it still not working, you probably have java.exe in C:/Windows/System32/. Rename it, restart command prompt and type java -version to check if you are using correct version of JDK.
I've posted tutorial how to fix Android Studio with screenshots on my blog.

- 101
- 4
-
Thanks! The problem was that I had java.exe in C:/Windows/System32/ Just renamed it and it worked! Probably gonna delete it too lol – TheWizKid95 May 20 '13 at 21:08
I have had a similar problem with Android Studio 1.0 in windows 7 x64. When I ran studio64.exe it flashed the android studio logo and it disappeared immediately. Also I tried
studio64.exe > error.log
to figure out possible errors. JAVA_HOME=C:\Program Files\Java\jre1.8.0_25
environment variable was correctly setted.
Finally I decided to uninstall all Java versions (I had a mess of different java versions installed), both jdk and jre and reinstalled last version jdk 1.8.0_25. My problem was solved.
Regards,

- 93
- 1
- 8
Sometimes it might get stuck in memory. Open task manager, terminate android stuido. Open it up again.

- 88
- 9
You have to add a new system variable named ANDROID_STUDIO_JDK or JDK_HOME with the path to your JDK install folder, such as C:\Program Files\Java\jdk1.7.0_21\

- 860
- 2
- 17
- 41
I had the same exact problem and did try to do every thing manually nothing worked except for this command when I finished it finally launched. Open CMD with administrator if possible then put the following command:
set path="$PATH":C:\Program Files\Java\jdk1.7.0_21\bin
Then just try to launch it should work.
This is the only thing that worked for me.

- 1,965
- 2
- 21
- 42

- 391
- 3
- 5
Make sure you have Java 1.8 (JDK) or higher and update java_home and path to this version. I did every tips but i checked AS requirements and updated jdk do 1.8.xx

- 23
- 6
It's possible there is a problem with your username (and name of the user folder). It shouldn't contain non-latin letters. I had solved my problem (no response to an attempt to run Android studio) when I tried running the application as another Windows user (with name that consists of English letters only)

- 11
- 2
I got the same problem, but with no error message.
I found a studio.bat
file and dig in it. There, I found some tips:
I found out thet the variable suggested in a previous post is incorrect.
ANDROID_STUDIO_JDK
is no good.
STUDIO_JDK
is the one.
Also, just to make the things/solution worst to corner, I've uninstalled jre and jdk then reinstall jdk only.
The setup variables are like this:
JAVA_HOME
is now pointing toC:\Program Files\Java\jdk1.8.0_172\bin
JDK_HOME
is pointing toC:\Program Files\Java\jdk1.8.0_172
STUDIO_JDK
is pointing toC:\Program Files\Java\jdk1.8.0_172
It's a mess but it's working...
Is it because I uninstalled/reinstalled java sdk and jre? or just the env. variables? who knows :)
Specs:
- i5 with 4gig ram
- win 10 32bit

- 7,315
- 4
- 29
- 40

- 13
- 4
In addition to following the steps pointed out by Tigris I also had to run the Android Studio with Administrative rights. Not sure why but I just made it in a few minutes ago.
- Follow the steps here: http://tools.android.com/knownissues#as0.1
- Run Android Studio as Admin

- 43
- 5
There is Another Issue
http://tools.android.com/knownissues
open a "cmd.exe" (command prompt), cd to the android-studio\bin folder and run "studio.bat". You will most likely see an error: for example b/55267 is about the option -XX:+UseCodeCacheFlushing not being recognized. Report the error, remove the line from the studio.exe.vmoptions or studio64.exe.vmoptions and it should now work.
There could be a process still running in the background that would need to be killed in the task manager. The name of the process is studio64.exe (at least that's the name on my machine). Could be because I am running a 64-bit OS. After killing this process, try to run Android Studio again, and it should work.
If your path and/or environment variables are not pointing to the correct JDK, things won't work properly.
A rock solid solution, especially if you must have multiple JDKs installed (e.g. Java 6/7/8) is to create a batch file to launch Android Studio.
Create a new file called studio.bat
and place this somewhere outside the Android Studio installation, e.g.
c:\mydevstuff\launchers\studio.bat
(if you put the batch file anywhere in the android-studio
folder, then you'll have problems when updating Android Studio).
Put the following code in the new batch file:
@echo off
REM Can make paths relative to SCRIPT_PATH if necessary
set SCRIPT_PATH=%~dp0
set ANDROID_STUDIO_JDK=<JDK Path>
set JAVA_HOME=<JDK Path>
set PATH=<JDK Path>\bin;%PATH%
cd <android-studio Install Path>\bin
start studio64.exe
Replace studio64.exe
with studio.exe
if you need the 32-bit version.
Replace
<JDK Path>
with the path to your JDK, e.g.
C:\Program Files\Java\jdk1.7.0_25
Replace
<android-studio Install Path>
with the path to your Android Studio installation, e.g.
C:\Program Files\Android\android-studio
Now you can just run the batch file to start Android Studio.
Additional: If you want to pin to the Taskbar, then create a shortcut to the batch file and then change it's target to:
cmd.exe /c "<path to bat>\studio.bat"
Then pin this shortcut to the Taskbar by drag-and-drop.
You can also set it's icon from the original Android Studio studio.exe
file.

- 928
- 10
- 10
I ran into this problem and these steps fixed it.
- Remove ALL older JRE / JDK versions
- Set values for JDK_HOME & JAVA_HOME to path of JDK install

- 2,277
- 1
- 25
- 49
if you use android studio version 2.3.3 you should have JDK with version 1.8 in the system environment values , to add it click on Computer (in windows 7) System properties Advanced system settings (at the right) Advanced (tab) environment variables button and edit the value of name JAVA_HOME to the file which contains jdk 1.8 if you don't have this variable make a new one

- 29
- 3