我正在使用Android Studio进行安装挑战 [英] I am getting an Installation challenge with Android Studio

查看:88
本文介绍了我正在使用Android Studio进行安装挑战的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到的错误信息是:



环境变量JAVA_HOME(值为C:\ProgramFiles / Java / jdk1.7.0_11 / bin)没有指向有效的JVM安装。



我的查询是我已经安装了JVM,我甚至使用notepad和cmd运行了一些我的java代码。 br $> b $ b

有人帮我解决问题所在!!!!

This the error message i am receiving is:

The environment variable JAVA_HOME(With the value of C:\ProgramFiles/Java/j.d.k.1.7.0_11/bin) doe not point to a valid JVM Installation.

My query is that i have installed JVM and i even run some of my java codes using notepad and cmd.

Someone kindly aid me out on what the problem might be!!!!

推荐答案

在我的设备上Java SDK( Java开发工具包,顾名思义)的实际路径是,



On my device the actual path for Java SDK (Java Development Kit as the name suggests) is,

C:\Program Files\Java\jdk1.8.0_45\bin





注意程序之间的空格和文件(程序< space>文件),在你的情况下,(JDK)之间没有句号。尝试更改它,它会工作。更具体地说,您只需提供SDK安装文件夹的位置,其中应用程序将查找运行其应用程序的二进制文件。



最好在该位置推荐,但也可以安装在其他位置,只需选择它所在的位置,然后在该变量的值中输入(从C或D到最终文件夹的所有方式)。



例如,请看这个图片: http:// s14 .postimg.org / ql9wnmq8x / Screenshot_85.png [ ^ ]



其他一些提示:确保安装时没有中断。此外,请确保32位或64位OS之间没有歧义。有两个文件夹(FYI),程序文件和程序文件(x86)。确保选择了正确的。



Note the space in between Program and Files (Program<space>Files) and there is no period sign in between (JDK) in your case there is. Try changing this and it would work. Most specifically, you just need to provide the location of your SDK's installation folder where application would look for binaries to run their applications.

It is best recommended in that location, but can be installed at other locations also, just select the location where it is present and enter that (all the way from C or D to the final folder) in the value for that variable.

For example, see this image: http://s14.postimg.org/ql9wnmq8x/Screenshot_85.png[^]

A few other tips: Make sure there were no interruptions while installation. Also, make sure that there is no ambiguity in between 32 bit or 64 bit OS. There are two folders (FYI), Program Files and Program Files (x86). Make sure you chose the correct one.


这篇关于我正在使用Android Studio进行安装挑战的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆