Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

macOS "The application Android Studio can't be opened"

I am getting the error "The application Android Studio can't be opened" after updating my MacBook Pro to latest version 10.13.4 I am using Android Studio 3.1 I can open all the applications on my Mac except for Android Studio. I have searched on internet and couldn't find any related answer for this problem. Please help?

like image 455
Fatih Taşdemir Avatar asked Apr 02 '18 11:04

Fatih Taşdemir


4 Answers

I've just fixed it by removing the studio.vmoptions file.

> rm /Users/{user}/Library/Application\ Support/Google/AndroidStudioPreview4.2/studio.vmoptions
like image 125
Nicolás Patarino Avatar answered Dec 04 '22 12:12

Nicolás Patarino


I faced the same issue, which I solved by below steps :

  1. Delete Android Studio completely from your mac
  2. Install through the command :
    brew install --cask android-studio
    
like image 43
Jamaludeen MA Avatar answered Dec 04 '22 11:12

Jamaludeen MA


I had this issue and it seemed to be caused by comments in my studio.vmoptions file

~/Library/Preferences/.AndroidStudioX.X/studio.vmoptions

Once I removed the comments, I was able to open Android Studio again.

like image 35
CACuzcatlan Avatar answered Dec 04 '22 12:12

CACuzcatlan


In my case I had to do:

sudo chmod 644 /Applications/Android\Studio\Preview.app/Contents/Info.plist 

because it had -rw------- permissions instead of -rw-r--r--@

like image 35
Nietoperek Avatar answered Dec 04 '22 10:12

Nietoperek