无法在优胜美地运行 Android Studio [英] Can't run Android Studio on Yosemite

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

问题描述

无法安装 Java 7(安装程序拒绝).

Can't install Java 7 (installer refuses).

可以安装 Java 8.

Can install Java 8.

但是在启动 Android Studio 之后,它说它需要安装旧版 JDK 6,这对我不起作用,因为我们的项目已经是 1.7.

But then starting Android Studio, it says it needs to install the legacy JDK 6, which is not going to work for me because our projects are already 1.7.

推荐答案

我们现在有一个官方页面来描述要做什么:http://tools.android.com/tech-docs/configuration/osx-jdk

We now have an official page describing what to do: http://tools.android.com/tech-docs/configuration/osx-jdk

请不要编辑Info.plist;这有很多缺点(包括损坏的补丁和破坏应用程序签名等).从 Android Studio 1.0 开始,我们有一种不同的方式来设置 IDE 使用的 JDK.

Please, please don't edit Info.plist; that has many downsides (including broken patches and application signatures breaking etc). As of Android Studio 1.0 we have a different way of setting the JDK to be used by the IDE.

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

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