mac 下启动Android Studio 时出现 Android Studio was unable to find a valid Jvm

如题:mac 下启动Android Studio 时出现 Android Studio was unable to find a valid Jvm


解决方法如下:

Before you set up Android Studio, be sure you have installed JDK 6 or higher (the JRE alone is not sufficient)—JDK 7 is required when developing for Android 5.0 and higher. To check if you have JDK installed (and which version), open a terminal and type javac -version. If the JDK is not available or the version is lower than 6, go download JDK


    1、Finder中,应用程序中找到Android Studio;
     2、右击显示包内容,在目录下找到 info.plist 并用任意文本编辑器打开;
     3、找到 JVMVersion 并将 <string>1.6*</string>中的版本号改为你系统JDK的版本号(注意:Android Studio只支持jdk1.6及以上版本)
</pre><pre id="answer-content-1935054869" class="answer-text mb-10" name="code" style="white-space: pre-wrap; word-wrap: break-word; color: rgb(51, 51, 51); font-size: 14px; margin-top: 0px; margin-bottom: 10px; padding: 0px; font-family: arial, 'courier new', courier, 宋体, monospace; line-height: 24px; background-color: rgb(255, 255, 255);">如下图所示:



原文URL:http://blog.csdn.net/richerg85/article/details/42809693

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值