Android Studio 无法在 Windows 上打开 [英] Android studio isn't opening on Windows

查看:29
本文介绍了Android Studio 无法在 Windows 上打开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载并安装了 Android Studio.无论出于何种原因,它都不会打开.我试过以管理员身份运行它,但这似乎也不起作用.我也试过卸载和重新安装,但我仍然遇到同样的问题.

I just downloaded and installed Android Studio. For whatever reason, it won't open. I've tried running it as administrator, but that doesn't seem to work either. I've also tried uninstalling and reinstalling, but I'm still having this same problem.

推荐答案

想通了!我相信将来有人会遇到这个问题,所以就这样吧.

Figured it out! I'm sure someone will run into this in the future, so here goes.

即使它在安装过程中找到了我的 JDK,但由于某种原因,当我尝试打开它时却找不到它.简单的修复.将 JDK_HOME 环境变量添加到您的系统变量中.它应该包含 JDK ROOT 目录的路径.即 c:\Program Files\Java\jdk1.7.0_21\

Even though it found my JDK during installation, it wasn't able to find it when I was trying to open it, for some reason. Simple fix. Add a JDK_HOME environment variable to your system variables. It should contain the path to your JDK's ROOT directory. i.e. c:\Program Files\Java\jdk1.7.0_21\

这篇关于Android Studio 无法在 Windows 上打开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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