mac 下启动Android Studio 时出现 Android Studio was unable to find a valid Jvm
16lz
2021-01-23
如题: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 apk的版本号能否自动更新?
- 通过android代码获取android系统的imei、手机型号、手机品牌、an
- AndroidManifest.xml中 andorid 版本号 versionCode, versionNam
- Android版本号 API level一览表
- Android 富文本编辑器 - ListItemSpan
- android 版本号比较大小
- 基于原生 EditText+span 实现的 Android 富文本编辑器
- (Android)react-native获得手机的Android版本号
- android版本号版本名