新手打开Android Studio The environment variable java_home,求大神帮帮忙

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了新手打开Android Studio The environment variable java_home,求大神帮帮忙相关的知识,希望对你有一定的参考价值。

我一直用Eclipse开发android,java_home都是配置好的,因为我这个是解压版,是要配置的。今天想学用Android studio 来开发,安装后打开总是报错
我也百度查过,很多都是说java_home配置错了,试过home路径后面的分号的删除,试过JAVA_HOME里将BIN去掉,都是不可以的,求大神们帮帮忙

参考技术A I reproduced your issue on my <a href="https://www.baidu.com/s?wd=Windows&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1dBrjKBmvDLmycvmHIBmyFW0AP8IA3qPjfsn1bkrjKxmLKz0ZNzUjdCIZwsrBtEXh9GuA7EQhF9pywdQhPEUiqkIyN1IA-EUBtkPHDknWn4rHRdPWbznHcYPWms" target="_blank" class="baidu-highlight">Windows</a> <a href="https://www.baidu.com/s?wd=8.1&tn=44039180_cpr&fenlei=mv6quAkxTZn0IZRqIHckPjm4nH00T1dBrjKBmvDLmycvmHIBmyFW0AP8IA3qPjfsn1bkrjKxmLKz0ZNzUjdCIZwsrBtEXh9GuA7EQhF9pywdQhPEUiqkIyN1IA-EUBtkPHDknWn4rHRdPWbznHcYPWms" target="_blank" class="baidu-highlight">8.1</a> system :
Installed 64-bit JDK 1.8.0_11.
Installed latest Android Studio Bundle.
Went to Control Panel -> System -> Advanced system settings -> Environment Variables...
Added JDK_HOME pointing to my 64-bit JDK.
Launched studio64.exe
I got the same message you did. Thinking that it might be the environment variable, I did the following :
Went to Control Panel -> System -> Advanced system settings -> Environment Variables...
Changed the name of JDK_HOME to JAVA_HOME.
Launched studio64.exe
It came up successfully !追问

我这是win7,可以说中文吗?

以上是关于新手打开Android Studio The environment variable java_home,求大神帮帮忙的主要内容,如果未能解决你的问题,请参考以下文章

错误记录Android Studio 运行报错 ( There is not enough memory to perform the requested operation. )

Android Studio 4.0 :This project uses AndroidX dependencies, but the 'android.useAndroidX' p

Android studio :No version of NDK matched the requested version

Android studio :No version of NDK matched the requested version

visual studio2010怎么打开C语言编译器啊,本人新手。。。

the rendering library is more recent than your version of android studio