SDK Manager.exe不起作用 [英] SDK Manager.exe doesn't work

查看:138
本文介绍了SDK Manager.exe不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击程序文件上的SDK Manager或者在 cmd 中运行时,没有任何反应。我做了:


  1. 安装最新的JDK

  2. 安装最新的Android SDK

  3. 设置环境JAVA_HOME并将%JAVA_HOME%\bin放入路径变量**

实际上,出现一个黑色cmd窗口,



如何解决?



编辑: p>

我日复一日地Google搜索,但找不到解决方案。即使我设置路径为ANDROID_SWT它也不能运行。我怀疑Android SDK在其安装包中有错误。





我完全疲惫了,这是我最后一次尝试:


  1. 卸载JDK,Android SDK,删除所有ANDROID或JAVA环境变量

  2. 重新安装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:

  1. Installed latest JDK
  2. Installed latest Android SDK
  3. 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:

  1. Uninstall JDK, Android SDK, remove all ANDROID or JAVA environment variables
  2. 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屋!

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