Skip to content

Instantly share code, notes, and snippets.

@ashishb
Created June 27, 2014 21:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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.
# 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