Created
June 27, 2014 21:06
-
-
Save ashishb/266a71d06d308bd96eed to your computer and use it in GitHub Desktop.
Fix to a problem installing "Android Studio" via homebrew on Mac OS X.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Problem | |
$ open -a Android\ Studio | |
LSOpenURLsWithRole() failed for the application /opt/homebrew-cask/Caskroom/android-studio/0.6.1 build-135.1224218/Android Studio.app with error -10810. | |
# Fix | |
$ /usr/libexec/PlistBuddy -c 'Set :JVMOptions:JVMVersion 1.8*' //opt/homebrew-cask/Caskroom/android-studio/0.6.1\ build-135.1224218/Android\ Studio.app/Contents/Info.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment