简体   繁体   English

Android SDK无法安装-检查JDK时崩溃

[英]Android sdk will not install - crashes when checking for jdk

I have downloaded the java jdk, and the android sdk installer, but when I run the android sdk installer, it works fine until the screen where it checks for the java jdk. 我已经下载了Java jdk和android sdk安装程序,但是当我运行android sdk安装程序时,它可以正常工作,直到在屏幕上检查Java jdk。

It starts to not respond, then after about 15 seconds, a crash message pops up. 它开始不响应,然后在大约15秒钟后弹出崩溃消息。

Any help with this issue? 这个问题有帮助吗?

it may be a bit late, no solution on the internet worked for me and finally out of desperation I deleted the registery key: 可能有点晚了,互联网上没有任何解决方案对我有用,最后由于绝望,我删除了登录密钥:

HKEY_LOCAL_MACHINE\\Software\\JavaSoft (not in Wow6432Node)

And it worked! 而且有效! I hope I just saved someone from looking for a solution for two hours like I did. 我希望我能像我一样,让某人免于寻找解决方案的两个小时。

The issue for me was that I did not have the 32-bit version of the JDK installed. 对我来说,问题是我没有安装32位版本的JDK。 I only had the 64-bit version. 我只有64位版本。

This answer might come a little late, but before installing the Android SDK I had about 6 versions of Java installed. 这个答案可能会晚一点,但是在安装Android SDK之前,我已经安装了大约6个Java版本。 Simply uninstalling every version and then installing the latest JDK for 32 or 64 bit will fix this crash. 只需卸载每个版本,然后安装最新的32位或64位JDK,即可解决此崩溃问题。

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

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