简体   繁体   English

Android SDKManager仍然无法打开

[英]Android SDKManager STILL won't open

I downloaded and installed the latest Java JDK. 我下载并安装了最新的Java JDK。 Installed it to a space-less directory: "C:\\ProgramData\\Java\\jdk-10.0.1". 将其安装到无空间目录:“ C:\\ ProgramData \\ Java \\ jdk-10.0.1”。

I've got an environment variable: JAVA_HOME which points to that directory. 我有一个环境变量:JAVA_HOME指向该目录。 Inside the PATH variable, I added %JAVA_HOME%\\bin; 在PATH变量中,我添加了%JAVA_HOME%\\ bin;

I downloaded the command-line tools, but when I double-click the SDKmanager.bat file in the bin folder, like everyone experiences, it flashes and vanishes. 我下载了命令行工具,但是当我双击bin文件夹中的SDKmanager.bat文件时,就像每个人的经历一样,它闪烁并消失。

I've tried the environmental variables fixes. 我已经尝试了环境变量修复。 I've tried to replace data in the bat (there aren't even any references to java to fix). 我试图替换蝙蝠中的数据(甚至没有任何要修复的Java引用)。

I'm SoL and really need the help! 我是SoL,真的需要帮助!

Thanks 谢谢

-Matt -马特

Try launching .bat file from terminal (cmd). 尝试从终端(cmd)启动.bat文件。 That should show you what the error is. 那应该告诉您错误是什么。

SDKManager仅与JDK 8一起使用。您需要安装它而不是JDK 10。

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

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