I had successfully installed Android Studio on Windows 7 64bit , but when I started it , it's not work and show nothing . Then I appended the pause command to the end of the studio.bat .
When I execute via CMD, I get the following error:
Unrecognized VM option '+UseCodeCacheFlushing'
Could not create the Java virtual machine.
My Jdk version is JDK 1.6
I would like to ask how to solve it?
Go to your install directory
C:\Program Files (x86)\Android\android-studio\bin
and copy the files
studio64.exe.vmoptions
studio.exe.vmoptions
to your documents. Edit them and remove the line
-XX:+UseCodeCacheFlushing
in each. Then copy them back to
C:\Program Files (x86)\Android\android-studio\bin
and try to relaunch again.
Hey I have found the solution!
Just update to JDK 1.7!
And Set latest installed JDK path in both JAVA_HOME and JDK_HOME environment variables.
In my case it is as follows:
Hope it does not work with JDK 1.6 :(
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With