I had the same problem. I tried setting all kind of paths but nothing worked. So I had to do some dirty fix. The only problem with this is that it opens a blank command line window.
I did the following to make it work.
- goto the AndroidStudio installation folder.
- goto
bin
folder and open studio.bat
in text editor
- add
set JAVA_HOME=C:Program FilesJava2jdk1.8.0
//your java path after the ECHO line.
- goto
Start
-> All Programmes
-> Android Studio
->
- right click on
Android Studio
and click on properties
.
- You will see the
Target
something like <installation path>android-studioinstudio64.exe
- change it to
<installation path>android-studioinstudio.bat
Now you can access it by clicking it from the menu.
Note : I tried it with 8, It works.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…