Disable Auto Save(这一步不够用)
File
>Settings
>Appearance & Behavior
>System Settings
>Synchronization
> then uncheck bothSave files on frame deactivation
andSave files automatically if application is idle
>OK
要两步 不然 不行
Now, you may want to do this too.
File
>Settings
>Editor
>General
>Editor Tabs
> then checkMark modified tabs with asterisk
>OK
File
>Settings
>Keymap
> search with save document > right clickSave Document
>Add Keyboard Shortcut
> press Ctrl+S>OK
>Remove
>OK
从这https://stackoverflow.com/questions/28946013/how-to-disable-auto-save-save-in-android-studio 学的