Example
- Open the Settings or Preferences dialog:
- On Windows or Linux, select
File
> Settings
from the main menu.
- On Mac OSX, select
Android Studio
> Preferences
from the main menu.
- Navigate to
Build, Execution, Deployment
> Compiler
.
- In the text field next to Command-line Options, enter your command-line options.
- Click OK to save and exit.

The top option is Instant run. Check/uncheck that box.
Documentation