SDK Manager.exe不起作用 [英] SDK Manager.exe doesn't work
问题描述
当我点击程序文件上的SDK Manager或者在 cmd
中运行时,没有任何反应。我做了:
- 安装最新的JDK
- 安装最新的Android SDK
- 设置环境JAVA_HOME并将%JAVA_HOME%\bin放入路径变量**
实际上,出现一个黑色cmd窗口,
如何解决?
编辑: p>
我日复一日地Google搜索,但找不到解决方案。即使我设置路径为ANDROID_SWT它也不能运行。我怀疑Android SDK在其安装包中有错误。
我完全疲惫了,这是我最后一次尝试:
- 卸载JDK,Android SDK,删除所有ANDROID或JAVA环境变量
- 重新安装JDK和Android SDK
但没有变化。
编辑:
是我第二次遇到这个问题。只有在为Ant和Maven添加了更多的环境变量后才会遇到这个问题。这是总结:
安装Windows XP SP3 - >安装JDK - >安装Android SDK - >打开SDK管理器,它的工作原理! - >在路径变量中添加一些更多的bin路径的Ant和Maven - >打开SDK管理器,它不会打开 - >我通过删除所有环境变量回滚 - > SDK管理器仍然没有打开!这很奇怪! - >当我重新安装JDK和Android SDK时,它是陌生的,它仍然没有打开! :
步骤1:打开命令提示符。
步骤2:使用 cd
命令移动到您安装Android SDK的任何地方。
步骤# 3:运行 tools\android
。
如果不起作用,应该将信息转储到命令提示可帮助您诊断设置问题。
When I clicked SDK Manager on Program Files or run it in cmd
, nothing happened. I did:
- Installed latest JDK
- Installed latest Android SDK
- Set environment JAVA_HOME and put %JAVA_HOME%\bin in path variable**
Actually a black cmd window appears and disappears a milliseconds.
How to fix it?
Edit:
I Googled day by day but can't find a solution for this. Even I set path for ANDROID_SWT it also can't run. I suspect that Android SDK has bug in its installation package.
I'm totally exhausted and this is the last my try:
- Uninstall JDK, Android SDK, remove all ANDROID or JAVA environment variables
- reinstall JDK and Android SDK
But nothing changes.
Edit:
Actually this is the second time I meet this problem. I got this problem only after I added more Environment variables for Ant and Maven. This is the summary:
Install Windows XP SP3 --> Install JDK --> Install Android SDK --> Open SDK Manager and it works! --> append some more "bin" path of Ant and Maven in "path" variable --> Open SDK Manager and it doesn't open --> I rolled back by removing all environment variables --> SDK Manager still no opens! That's very strange! --> It is stranger when I reinstall JDK and Android SDK, it still no opens! :(
Step #1: Open up a command prompt.
Step #2: Use the cd
command to move to wherever you installed your Android SDK.
Step #3: Run tools\android
.
If that does not work, you should have information dumped to the command prompt that will help you diagnose your setup problem.
这篇关于SDK Manager.exe不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!