即使安装了JDK 8,Android工作室也无法安装 [英] Android studio not installing even if JDK 8 is installed
问题描述
我刚刚下载了Google的新Android工作室软件包(适用于Windows的x64),还安装了JDK8(C:\Program Files \ Java \ _ddk1.8.0_25)(x64版本)。
I just downloaded Google's new android studio bundle(x64 for Windows) and also installed JDK8 (C:\Program Files\Java\jdk1.8.0_25) (x64 version).
但是在 android studio setup 上,它没有检测到JDK并要求找到它的路径。我找到了它的路径,但它仍然说它无效。
But on the android studio setup it does not detect JDK and asks to locate its path. I located its path but still it says it is not valid.
我尝试声明新的环境变量(系统和用户),但我仍然得到同样的错误。
I tried declaring new Environment variables (both system and User) but still I get same error.
我也试过cmd,它说java& JDK已安装。
I also tried in cmd, and it says that java & JDK is installed.
之后我从Oracle重新安装了Windows x64的JDK 8。但是android studio没有变化...
After that I reinstalled JDK 8 for windows x64 from Oracle. But no changes in android studio...
请帮忙。 !
推荐答案
它需要JDK 7,如系统要求页面所述: http://developer.android.com/sdk/index.html#Requirements
It needs JDK 7, as stated on the System Requirements page: http://developer.android.com/sdk/index.html#Requirements
更新:
对于Android Studio 2.1,它需要适用于Windows或Linux的JDK 8和适用于Mac的JDK 6。
For Android Studio 2.1, it needs JDK 8 for Windows or Linux, and JDK 6 for Mac.
这篇关于即使安装了JDK 8,Android工作室也无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!