Saturday 24 November 2018

java - Android Studio was unable to find a valid Jvm (Related to MAC OS)



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


Answer




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!.



Cheers!



Edited:



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



"Please note: Do not edit Info.plist to pick a different version. That will break not only the application signature, but also future patch updates to your installation."




Antonio Jose's answer is the correct one.



Thanks aried3r!


No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...