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 并将 1.6*中的版本号改为你系统JDK的版本号(注意:Android Studio只支持jdk1.6及以上版本)
如下图所示:
mac 下启动Android Studio 时出现 Android Studio was unable to find a valid Jvm_第1张图片



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

你可能感兴趣的:(Android)