Android Studio 安装No JVM Installation found. Please install a 64 bit JDK.解决方法

安装好Android Studio 之后,启动studio 弹出提示说No JVM.....就算已经在环境变量处定义了JAVA_HOME,可还是不行。

在网上搜寻的解决方法,如下操作成功:

  1. Installed 64-bit JDK 1.8.0_11.(http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
  2. Installed latest Android Studio Bundle.
  3. Went to Control Panel -> System -> Advanced system settings -> Environment Variables...
  4. Added JDK_HOME pointing to my 64-bit JDK.
  5. Launched studio64.exe

I got the same message you did. Thinking that it might be the environment variable, I did the following :

  1. Went to Control Panel -> System -> Advanced system settings -> Environment Variables...
  2. Changed the name of JDK_HOME to JAVA_HOME.
  3. Launched studio64.exe
成功启动之后,又遇到 The following SDK components were not installed: build-tools-21.1.1....." 的问题, 解决如下:

1.download build-tools21.1.1 google link or dehkadeco.ir link

2.sdk will be located under C:\Users\<>\AppData\Local\Android\sdk.

3.You may find that 21.1.2 is already in place C:\Users\<>\AppData\Local\Android\sdk\build-toolsCreate a folder with name "21.1.1" under this

4.Copy all the files from the downloaded build-tools:21.1.1 under android-5.0 to C:\Users\<>\AppData\Local\Android\sdk\build-tools\21.1.1

5.Start the Android studio now.

你可能感兴趣的:(Android)