即使安装了JDK 8,Android工作室也无法安装 [英] Android studio not installing even if JDK 8 is installed

查看:437
本文介绍了即使安装了JDK 8,Android工作室也无法安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚下载了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屋!

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