Search code examples
android-studio-2.3

Android Studio - Update to 2.3 - Studio doesn't have write access


I didn't have this problem before. When i am trying to update Android Studio to 2.3, i get this:

Studio does not have write access to /private/var/folders/00/n4yy8fsx0njck05bfll1t3_w0000gn/T/AppTranslocation/2D9E214E-60BE-41D9-9843-3536E011FD7E/d/Android Studio.app/Contents. Please run it by a privileged user to update.

The account that i am in is Admin account and i also tried to give full access to that directory.

chmod -R 777 /private/var/....

but nothing worked. Any help will be much appreciated.


Solution

  • I experienced the same issue. Resolved it by running Android studio with sudo from the command line:

    sudo /Applications/Android\ Studio.app/Contents/MacOS/studio
    

    After the update has been downloaded you have to run the command one more time for Android studio to copy over the correct files.

    Next time you run Android studio with your non-privileged user it should be updated.