要关闭 Android Studio 中的 Instant Run 功能,请按照以下步骤操作:
1. 打开 Android Studio,点击菜单栏中的 "File" -> "Settings"。
2. 在弹出的窗口中,选择 "Build, Execution, Deployment" -> "Instant Run"。
3. 取消勾选 "Enable Instant Run to hot swap code/resource changes on deploy (default enabled)" 选项。
4. 点击 "Apply" 和 "OK" 按钮保存更改并关闭窗口。
现在,您已经成功关闭了 Android Studio 中的 Instant Run 功能。请注意,关闭 Instant Run 可能会导致应用程序部署速度变慢,但可以加快 Gradle task 'assembleDebug' 的运行速度。