简体   繁体   English

Android SDK Manager初始化但未打开

[英]android sdk manager initializing but not opening

when I run android sdk manager ,a small window pops up in 当我运行android sdk manager时,一个小窗口弹出

eclipse : it says "initializing..SDK manager will show up shortly. eclipse:它说“正在初始化。.SDK管理器将很快出现。

android studio : "starting sdk manager" but nothing happens afterwards. android studio:“正在启动sdk管理器”,但此后没有任何反应。

till now i have tried following solutions with no luck: 到现在为止,我一直在尝试以下没有运气的解决方案:

->changing android.bat to proper java/jre directory with/without quotes. ->将android.bat更改为带/不带引号的正确java / jre目录。

-> running as administrator ->以管理员身份运行

-> deleting the .android folder in c:users. ->删除c:users中的.android文件夹。

-> making sure that java directory is before windows/system32 directory. ->确保java目录在windows / system32目录之前。

all the above solutions haven't helped at all. 以上所有解决方案都没有帮助。 the problem remains still the same. 问题仍然存在。 im using jdk 8. is it true that android doesn't run with jdk8 and requires jdk7? 即时通讯使用的是jdk8。是不是android不与jdk8一起运行,而是需要jdk7? because this leaves the setting up java7 as the last option. 因为将java7设置为最后一个选项。

Please run directly /tools/android.bat to check whether there is any error message. 请直接运行/tools/android.bat以检查是否有任何错误消息。 If you get a JDK not found error. 如果收到未找到的JDK错误。 Try the following, if not, forget it. 请尝试以下操作,否则请忽略它。

In general, when you set environment parameters, sdk should be in "PATH" "CLASSPATH", but one time, I have the same situation, when I ran an exe to reinstall JDK. 通常,当您设置环境参数时,sdk应该位于“ PATH”“ CLASSPATH”中,但是有一次,当我运行exe来重新安装JDK时,我的情况也一样。 I got an error to ask me to use JAVA_HOME if JDK already installed. 我收到一个错误消息,要求我使用JAVA_HOME(如果已安装JDK)。

So add the JDK path in JAVA_HOME to have a try. 因此,请尝试在JAVA_HOME中添加JDK路径。

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

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