SDK 管理器无法启动 Windows 7 64 位? [英] SDK Manager won't start Windows 7 64-bit?

查看:21
本文介绍了SDK 管理器无法启动 Windows 7 64 位?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题之前已经解决过好几次了,但我没有评论一个老问题,而是决定用(希望)更新的信息制作一个新问题.

I know this problem has been addressed before several times, but rather than comment on an old question I decided to make a new one with (hopefully) updated information.

正如标题所说,无论我做什么,我都无法让 SDK Manager 运行.我尝试安装 32 位和 64 位版本的 jdk1.7.0,但没有成功.

As the title says, no matter what I do I cannot get the SDK Manager to run. I have tried installing both the 32- and 64-bit versions of jdk1.7.0 but no luck.

目前我在 C: 目录中安装了 jdk(32 位)和 sdk.正如许多人所说,我更改了下面的环境变量以反映位置.即:

Currently I have both the jdk (32-bit) and the sdk installed in the C: directory. As many have said I changed the environment variable below to reflect the locations. Namely:

变量名:PATH
变量值:

Variable name: PATH
Variable value:

C:Androidandroid-sdk ools;C:Javajdk1.7.0; C:ProgramFilesCommon FilesMicrosoft SharedWindows Live;C:Program Files(x86)Common FilesMicrosoft SharedWindowsLive;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program文件 (x86)Windows LiveShared;C:ProgramFilesIntelWiFiin;C:Program FilesCommon文件英特尔WirelessCommon

C:Androidandroid-sdk ools;C:Javajdk1.7.0; C:Program FilesCommon FilesMicrosoft SharedWindows Live;C:Program Files (x86)Common FilesMicrosoft SharedWindows Live;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program Files (x86)Windows LiveShared;C:Program FilesIntelWiFiin;C:Program FilesCommon FilesIntelWirelessCommon

(显然我只添加了前两个值)

(Obviously I only added the first two values)

一定有人在设置这个时遇到了同样的困难,他们可以帮助我.我在 32 位 Win7 机器上安装所有东西都没有问题,但 64 位是我的主计算机,如果我要学习如何使用它,我真的需要随身携带 SDK.

Somebody out there must have had the same difficulty setting this up who can help me out here. I had no problem installing everything on my 32-bit Win7 machine, but the 64-bit is my main computer and I really need to have the SDK with me if I am going to learn how to use it.

(已解决!)

我遇到的问题是命令提示符窗口会弹出,然后 SDK 管理器会开始加载,然后立即崩溃.

The problem I was having was that a command prompt window would pop up then the SDK Manager would start to load then instantly crash.

奇怪的是,其他人的计算机与我的非常相似,但安装时没有任何问题.奇怪.

Strangely, someone else with a very similar computer to mine just installed with no problems whatsoever. Weird.

我终于添加了另一个环境变量:

I finally added another environment variable:

变量名:JAVA_HOME

Variable name: JAVA_HOME

变量值:C:Javajdk1.7.0

Variable value: C:Javajdk1.7.0

它奏效了!

感谢大家的帮助.我希望这可以帮助其他可能遇到同样问题的人.

Thanks for all the help everyone. I hope this can help someone else who might have the same problem.

推荐答案

好的,在 Windows 7 64 位机器上,JAVA_HOME 技巧确实有效:即设置 JAVA_HOME = 您的 jdk bin 目录.还要将 jdk bin 目录添加到您的路径中.

Ok, one on Windows 7 64bit machine the JAVA_HOME trick did work: i.e. set JAVA_HOME = your jdk bin directory. Also add the jdk bin directory to your path.

在我的另一台 Windows 7 64 位机器上,我遇到了更多问题.我尝试下载不同的 find_java.bat - 它没有帮助.我尝试设置 ANDROID_SWT=libx86_64 - 有点帮助.

On my other Windows 7 64bit machine I had more problems. I tried downloading a different find_java.bat - it didn't help. I tried setting ANDROID_SWT=libx86_64 - that helped a bit.

最终我坚持使用 JAVA_HOME 和路径更改,然后跳过安装 android sdk,将 ADT 插件安装到 eclipse 中.从那里,重新启动后,您应该会在 eclipse 帮助菜单中看到 SDK 管理器可用.我从那里开始运行,一切顺利.

Eventually I stuck with the JAVA_HOME and path changes, then skipped installing the android sdk, installed the ADT Plugin into eclipse. From there, after you reboot, you should see SDK Manager available in the eclipse Help menu. I ran it from there and it was all smooth sailing.

这篇关于SDK 管理器无法启动 Windows 7 64 位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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