关闭 Android Studio 中的 Instant Run 功能

动态 未结 0 135
小小草
小小草 LV1 2023年9月23日 23:40 发表
要关闭 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' 的运行速度。
收藏(0)  分享
相关标签: 智能问答
问题没解决?让AI助手帮你作答 AI助手
0个回复
  • 消灭零回复