When Android Studio3.0 Canary1 upgrades version 2, an error is reported
Studio does not have write access to /private/var/folders/Solution:
Type in Terminal
sudo /Applications/Android\ Studio \ 3.0\ Preview.app/Contents/MacOS/studioYou can obtain directory permissions, and it will be automatically opened after the upgrade to upgrade to the latest version.
refer to: