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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值