Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Android Studio (IDE cannot create directory Mac)

I can't install Android Studio on my Mac but a pop up window keeps showing up with an error I have IntelliJ already installed and I don't know if that has anything to do with the issue. I really hope you guys can help me out.

enter image description here

like image 559
Fernando Ivan Perez Ruiz Avatar asked Dec 14 '22 07:12

Fernando Ivan Perez Ruiz


2 Answers

I had problem after installing mac os BigSur, the problem is because owner of google folder inside Application Support is root

the solution that solve my problem is to change the owner of google folder from root to my current user, you can do with open terminal / Iterm and enter command below

cd ~/Library/Application\ Support
sudo chown your_current_user_name ./Google
like image 172
widjajayd Avatar answered Dec 15 '22 22:12

widjajayd


This problem puzzled me for a long time also. I went to /Users/myname/Library/Application\ Support/Google/ and create AndroidStudio4.1 folder by myself. I solved this problem in this way ,but I think it is a bug of Android Studio.

like image 27
Rufus Avatar answered Dec 15 '22 20:12

Rufus