Android Studio 无法找到有效的 Jvm(与 MAC OS 相关) [英] Android Studio was unable to find a valid Jvm (Related to MAC OS)

查看:28
本文介绍了Android Studio 无法找到有效的 Jvm(与 MAC OS 相关)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am unable to start my Android Studio for Android development on Mac OS (10.10.1 - Yosemite)

推荐答案

在finder中打开Android Studio的应用包,编辑Info.plist文件.更改密钥 JVMversion.用 1.6+ 代替 1.6*.这对我有用!

Open the application package for Android Studio in finder, and edit the Info.plist file. Change the key JVMversion. Put 1.6+ instead of 1.6*. That worked for me!.

干杯!

虽然这在旧版本的 Android Studio 中是必要的,但不再推荐这样做.见官方声明

While this was necessary in older versions of Android Studio, this is no longer recommended. See the official statement

请注意:不要编辑 Info.plist 以选择不同的版本.这不仅会破坏应用程序签名,还会破坏您安装的未来补丁更新."

Antonio Jose 的答案是正确的.

Antonio Jose's answer is the correct one.

感谢 aried3r!

Thanks aried3r!

这篇关于Android Studio 无法找到有效的 Jvm(与 MAC OS 相关)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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