mac 下启动Android(安卓)Studio 时出现 Android(安卓)Studio was unable to find a valid Jvm
16lz
2021-12-04
如题: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及以上版本)
如下图所示:
原文URL:http://blog.csdn.net/richerg85/article/details/42809693
更多相关文章
- Android(安卓)模拟器方向键和键盘方向键不能用
- minSdkVersion各个版本号对应android版本
- 通过android代码获取android系统的imei、手机型号、手机品牌、an
- Android(安卓)WIDGETS 下的Power control修改的流程
- Android:Error retrieving parent for item: No resource found
- AndroidManifest.xml中 andorid 版本号 versionCode, versionNam
- Android版本号 API level一览表
- Android(安卓)富文本编辑器 - ListItemSpan
- android 版本号比较大小