简体   繁体   English

安装Android SDKr18后,SDK将无法检测到JDK

[英]Installing Android SDKr18, SDK will not detect the JDK

![enter image description here][1]Thanks for taking the time to read my question. ![在此处输入图片描述] [1]感谢您抽出宝贵的时间阅读我的问题。

This is not another back, then next problem. 这不是另一回事,而是下一个问题。

I have installed eclipse classic and jdk-7u3-windows-x64, the problem is when I go to install the android SDK, I get this error: 我已经安装了eclipse classic和jdk-7u3-windows-x64,问题是当我去安装android SDK时,出现以下错误:

http://i.stack.imgur.com/V9VIY.jpg http://i.stack.imgur.com/V9VIY.jpg

I have been searching the net all night, one solution seems to be for an earlier version of the Android SDK is to click back then next, I have tried this to no avail. 我整夜都在网上搜索,一种解决方案似乎是针对Android SDK的较早版本,是先单击后退,然后再单击下一步,但我尝试这样做无济于事。 I have also set up a environment variable, this didn't work either. 我还设置了一个环境变量,这也不起作用。 I have checked that java has definitely been installed, I have run and installed all software as admin. 我已经检查确定已经安装了Java,已经以管理员身份运行并安装了所有软件。 Still I get the same message. 我仍然收到相同的消息。

So can anyone out there help me with this issue? 那么,外面有人可以帮助我解决这个问题吗?

Big thanks in advance for any help! 在此先感谢您的帮助!

Nick. 缺口。

I had similar problem with Windows 7 - 64 bit machine. 我在Windows 7-64位计算机上有类似的问题。 The installation of the Andriod SDk wil l hang on the screen where it is trying to locate JDK. Andriod SDk的安装将挂在试图查找JDK的屏幕上。 I had both 64 and 32 bit JDK installed. 我同时安装了64位和32位JDK。 JAVA_HOME was set to correct JDK (32) bit to C:\\Java\\jdk1.6.0_13 but the installer will get stuck in a loop and will never recover from the screen. JAVA_HOME已设置为将JDK(32)位更正为C:\\ Java \\ jdk1.6.0_13,但安装程序将陷入循环,并且永远无法从屏幕中恢复。

It is silly really but what I had to do was, to reinstall jdk-6 32 bit in a different directory this time (C:\\Program Files (x86)\\Java\\jdk1.6.0_31) , change the JAVA_HOME to C:\\Program Files (x86)\\Java\\jdk1.6.0_31 and reinstall SDK. 确实很愚蠢,但是我要做的是,这次将jdk-6 32位重新安装在另一个目录中(C:\\ Program Files(x86)\\ Java \\ jdk1.6.0_31),将JAVA_HOME更改为C:\\程序文件(x86)\\ Java \\ jdk1.6.0_31,然后重新安装SDK。 Very strangely it didn't pick up new installation of JDK at C:\\Program Files (x86)\\Java\\jdk1.6.0_31 as set in the JAVA_HOME, instead it picked up my old installation from C:\\Java\\jdk1.6.0_13\\ 非常奇怪的是,它没有按照JAVA_HOME中的设置在C:\\ Program Files(x86)\\ Java \\ jdk1.6.0_31上安装新的JDK,而是从C:\\ Java \\ jdk1.6.0上安装了我的旧安装。 _13 \\

Someone really need to check their codes at Google!! 确实有人需要在Google上检查其密码!!

But sorted , I am happy 但排序,我很高兴

I think all the installed and uninstalling of java caused the above error. 我认为Java的所有安装和卸载都导致上述错误。 Anyway restored my computer back to a certain point and installed the jdk 6 32 instead to start with. 无论如何,将我的计算机恢复到一定程度并安装了jdk 6 32而不是开始。 The sdk found it straight away. SDK立即发现了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM