我无法在Mac OS上启动我的Android Studio进行Android开发(10.10.1 - Yosemite)


当前回答

编辑android工作室的信息。plist文件,以便它使用1.7或任何您已经安装的JVMVersion。将JVMVersion更改为1.6+而不是如上所述的hassternet回答的1.6*应该也可以工作。

上述工作,但不建议参阅RC3发行说明

As of RC 3, we have a better mechanism for customizing properties for the launchers on all three platforms. You should not edit any files in the IDE installation directory. Instead, you can customize the attributes by creating your own .properties or .vmoptions files in the following directories. (This has been possible on some platforms before, but it required you to copy and change the entire contents of the files. With the latest changes these properties are now additive instead such that you can set just the attributes you care about, and the rest will use the defaults from the IDE installation).

Android Studio无法在Mac OSX上加载JVM (Mavericks)

其他回答

这一个工作为我,非常简单,只是导出环境变量。但确保你有有效的JVM首先。

https://code.google.com/p/android/issues/detail?id=82378

把这个家伙装在这里

http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

你应该很好。

我可以通过编辑信息来让它工作。请将16*改为16+。尝试使用推荐的方法,但失败了。

我也在处理同样的问题,而且我成功了。

可能是JDK版本不对。

现在我安装了jdk1.8,现在没问题了。

我运行了这个坏小子:

launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/