简体   繁体   English

安装Android SDK时出现问题

[英]Problem installing Android SDK

I downloaded JDK & Android SDK. 我下载了JDK和Android SDK。 I installed JDK, but when I'm trying to install the Android SDK the installer claims that JDK is not installed. 我安装了JDK,但是当我尝试安装Android SDK时,安装程​​序声称未安装JDK。

What can I do? 我能做什么?

Edit: OS is Win7 32bit 编辑:操作系统是Win7 32位

按下BACK,然后再次按下NEXT,就可以安装Android SDK。

我在Windows 7中遇到了相同的问题,回退和下一步对我都不起作用,我添加了指向jdk文件夹的JAVA_HOME变量,并将%JAVA_HOME%\\ bin添加到Path环境。

Doodle asks an important question, I've run into similar problems when I first upgraded to Win7 64 bit, feeling saucy I put 64 bit Java on, only to find that FF 3.x, which was 32 bit couldn't use it, and I also had problems with Eclipse. Doodle提出了一个重要问题,当我第一次升级到Win7 64位时,我遇到了类似的问题,觉得很奇怪,我将64位Java放在上面,却发现32位的FF 3.x无法使用它,而且我在Eclipse方面也遇到了问题。 You can run both 32 and 64 bit JRE's and JDK's side by side with no problem, so that may fix it. 您可以毫无问题地同时运行32位和64位JRE和JDK,因此可以对其进行修复。 Also, make sure that your JAVA_HOME is set correctly, and that the JDK is properly pointed to by Eclipse in the Window>>Preferences>>Java>>Installed JREs. 另外,请确保正确设置了JAVA_HOME,并且Eclipse在Window >> Preferences >> Java >> Installed JRE中正确指向了JDK。 I know it says JREs, but trust me, everything about Eclipse works better when it points to a JDK and runs from a JDK. 我知道它说的是JRE,但请相信我,当Eclipse指向JDK并从JDK运行时,所有有关Eclipse的工作都会更好。

YMMV 青年汽车

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

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