1. 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.
2. Navigate to Build, Execution, Deployment > Compiler.
3. In the text field next to Command-line Options, enter your command-line options.
4. Click OK to save and exit.
The top option is Instant run. Check/uncheck that box.