Android的工作室是不开放的Windows工作室、不开放、Android、Windows

2023-09-05 10:00:56 作者:Who are you.

我刚刚下载并安装Android的工作室。无论出于何种原因,它不会打开。我试着运行它以管理员身份,但是这似乎并没有擦出火花。我也试着卸载并重新安装,但我仍然有同样的问题。

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\