安装好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.

更多相关文章

  1. android欢迎界面的编程实现[手相评分-软件实例]
  2. Android(安卓)Intent常见的FLAG
  3. Android(安卓)service跨进程调用和启动检查
  4. Android系统应用层App启动过程分析
  5. Activity的四种启动模式(LaunchMode)
  6. Android隐藏Icon,条件启动显示icon
  7. 面试必备:Android(安卓)Activity启动流程源码分析
  8. [置顶] DownloadProvider 源码详细分析
  9. Android通知(Notification)使用详解

随机推荐

  1. Computex 2011:展示可在Windows 7底下运作
  2. android应用开发总论
  3. 致Android初学者:如何学习Android开发
  4. android 理解和使用自定义权限
  5. [转]Android笔记:Eclipse嵌入Unity3D开发
  6. 检索Android(安卓)SDCard的图片,并显示到i
  7. 在Android app中切换自定义的输入法
  8. Android mvp 架构的自述
  9. 在android中使用jsoup解析页面链接
  10. 浅谈Android手机终端客户端的适配测试