Android Studio在Windows 8 64位上失败[复制]

时间:2021-03-01 03:35:33

This question already has an answer here:

这个问题已经有了答案:

Installation works fine, JDK was also found without problems. After installation the program does not start. Double clicking the icon results in nothing happening. Starting as admin or installing "just for me" or for all users makes no difference. I am out of answers.. Is this maybe a common issue?

安装运行良好,JDK也没有问题。安装后程序不会启动。双击图标会导致什么都没有发生。从管理或安装“只为我”或对所有用户来说都没有区别。我没有答案。这可能是一个常见的问题吗?

5 个解决方案

#1


9  

After download and install Java SE Development Kit 7 - "jdk-7u21-windows-x64.exe" from Oracle site then adds JAVA_HOME (value = c:\program Files\Java\jdk1.7.0_21) to environment variables. It works fine with me on Windows 8.

下载并安装Java SE开发工具包7 -“jdk-7u21-windows-x64”。exe“从Oracle站点添加JAVA_HOME(值= c:\程序文件\Java\jdk1.7.0_21)到环境变量。它在Windows 8上很好用。

#2


4  

the solution is so simply by: Adding a system variable JDK_HOME

解决方案很简单:添加一个系统变量JDK_HOME。

with value c:\Program Files\Java\jdk1.7.0_21\ worked for me.

与价值c:\Program Files\Java\ jdk1.7.0_21 \为我工作。

Latest Java release can be downloaded here.

最新的Java版本可以在这里下载。

#3


3  

Go to

control panel -> System -> Advance system settings -> Environment variable

控制面板->系统->推进系统设置->环境变量。

Then, under system variable click new, enter variable name JDK_HOME and variable value C:\programfiles\java\jdk (this path can be different on different computer.)

然后,在系统变量下单击new,输入变量名称JDK_HOME和变量值C:\programfiles\java\jdk(这条路径在不同的计算机上是不同的)。

Then restart android studio.

然后重新启动android工作室。

#4


0  

I had this on windows 7 64 bit. I needed to manually set my JAVA_HOME environment variable. Try that, and try running it from a command shell so you can see the exact error.

我在windows 7 64位上有这个。我需要手动设置我的JAVA_HOME环境变量。尝试一下,并尝试从命令shell中运行它,这样您就可以看到准确的错误。

#5


0  

Here's an existing thread that has a bit more detail on this. As of today, you probably have the same version of Java as the answer, so you could just copy and paste and be on your way in no time.

这里有一个现有的线程,它有一些更详细的内容。到今天为止,您可能已经有了与答案相同的Java版本,所以您可以直接复制和粘贴,并立即在您的方式上。

Android Studio does not launch after installation

Android Studio在安装后不会启动。

#1


9  

After download and install Java SE Development Kit 7 - "jdk-7u21-windows-x64.exe" from Oracle site then adds JAVA_HOME (value = c:\program Files\Java\jdk1.7.0_21) to environment variables. It works fine with me on Windows 8.

下载并安装Java SE开发工具包7 -“jdk-7u21-windows-x64”。exe“从Oracle站点添加JAVA_HOME(值= c:\程序文件\Java\jdk1.7.0_21)到环境变量。它在Windows 8上很好用。

#2


4  

the solution is so simply by: Adding a system variable JDK_HOME

解决方案很简单:添加一个系统变量JDK_HOME。

with value c:\Program Files\Java\jdk1.7.0_21\ worked for me.

与价值c:\Program Files\Java\ jdk1.7.0_21 \为我工作。

Latest Java release can be downloaded here.

最新的Java版本可以在这里下载。

#3


3  

Go to

control panel -> System -> Advance system settings -> Environment variable

控制面板->系统->推进系统设置->环境变量。

Then, under system variable click new, enter variable name JDK_HOME and variable value C:\programfiles\java\jdk (this path can be different on different computer.)

然后,在系统变量下单击new,输入变量名称JDK_HOME和变量值C:\programfiles\java\jdk(这条路径在不同的计算机上是不同的)。

Then restart android studio.

然后重新启动android工作室。

#4


0  

I had this on windows 7 64 bit. I needed to manually set my JAVA_HOME environment variable. Try that, and try running it from a command shell so you can see the exact error.

我在windows 7 64位上有这个。我需要手动设置我的JAVA_HOME环境变量。尝试一下,并尝试从命令shell中运行它,这样您就可以看到准确的错误。

#5


0  

Here's an existing thread that has a bit more detail on this. As of today, you probably have the same version of Java as the answer, so you could just copy and paste and be on your way in no time.

这里有一个现有的线程,它有一些更详细的内容。到今天为止,您可能已经有了与答案相同的Java版本,所以您可以直接复制和粘贴,并立即在您的方式上。

Android Studio does not launch after installation

Android Studio在安装后不会启动。