标签:android http java os io for art ar
设置方法:
上面的方法是在网上搜的,没什么错误,但我在设置的时候把JAVA_HOME值写成了C:\Program Files\Java\jdk1.8.0_05; ,就是后面多了个分号,运行java命令没问题,所以认为环境变量设置没问题。于是安装android studio,无法运行,提示"dose not point to a valid jvm",根据网上搜索到的类似问题,增加了JDK_HOME,ANDROID_STUDIO_JDK变量,值跟JAVA_HOME一样,但都没法解决问题。
运行studio.bat查看问题,提示“ERROR: cannot start Android Studio. No JDK found. Please validate either ANDROID_STUDIO_JDK, or JDK_HOME or JAVA_HOME points to valid JDK installation. ECHO is off. Press any key to continue . . .”。
于是又是一通搜索,终于在这个页面“http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found”得到了提示,有个哥们说:
This MOSTLY worked for me. I am running 64 bit windows and JDK 1.7.0. I tried adding both JDK_HOME and JAVA_HOME with "c:\Program Files\Java\jdk1.7.0\". It still would not load. However, I capitalized the "C" and removed the trailing slash and it works now: "C:\Program Files\Java\jdk1.7.0" – ASeale May 16 ‘13 at 12:08
跟我一样是64位系统,于是检查我输入的JAVA_HOME值,试着去掉后面的分号,果然得以启动,小小问题竟然折腾了我快2天啊。。。
jdk的设置及安装android studio提示does not point to a valid jvm问题,布布扣,bubuko.com
jdk的设置及安装android studio提示does not point to a valid jvm问题
标签:android http java os io for art ar
原文地址:http://www.cnblogs.com/huangfr/p/3895343.html