Issue
I'm using Android Studio 3.0 Canary 1. I'm trying to update it to Android Studio 3.0 Canary 2 but it shows the following error:
Studio does not have write access to /private/var/folders/mk/h5qpw_r11_7ggh9q52n9hhlr0000gn/T/AppTranslocation/1321881E-C41D-4AF7-B207-F31894226D50/d/Android Studio 3.0 Preview.app/Contents. Please run it by a privileged user to update.
I even tried running Android studio with sudo from the command line:
sudo /Applications/Android\ Studio 3.0 Preview.app/Contents/MacOS/studio
But it didn't work. Any help will be much appreciated.
Solution
I was using the wrong command, it should be as given below:
sudo /Applications/Android\ Studio\ 3.0\ Preview.app/Contents/MacOS/studio
Answered By - Abhi