如何为 Android Studio 3.0 禁用 Instant Run [英] How to disable Instant Run for Android Studio 3.0

查看:58
本文介绍了如何为 Android Studio 3.0 禁用 Instant Run的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

进行一些更改后,我收到一个错误

<块引用>

会话应用":安装 APK 时出错

有人说是因为 Instant Run.

在最新的稳定版 Android Studio 3.0 上,在构建、执行、部署下,我没有任何即时运行选项,甚至在设置搜索中进行了检查.我可以在哪里禁用它的任何线索?

更新 1:尝试重新安装.没变.

内部版本号 171.4408382

更新 2:重新设置一次

解决方案

终于修复了!

由于 Linux 上的其他用户等在设置中看到了即时运行"选项,我尝试按照 https 重新安装和重置安装://stackoverflow.com/a/19397632/1926621

删除所有旧设置,并安装 Android Studio(保留 SDK 文件).改变了路径.打开同一个项目,选项就在那里!

After making a few changes I am getting an error

Session 'app': Error Installing APKs

According to some it is because of Instant Run.

On the latest Stable Android Studio 3.0, under Build, Execution, Deployment I don't have any option for Instant Run, even checked in the settings search. Any clue where I might be able to disable it?

Update 1: Tried reinstalling. No change.

Build number 171.4408382

Update 2: Gave reset a shot https://stackoverflow.com/a/19397632/1926621 still nothing.

Update 3: Not a duplicate. Must be something in the settings. A complete clean install/reset did it.

Screenshot of what I see:

解决方案

Finally fixed!

As other users on Linux and such saw the Instant Run option in the settings, I tried reinstalling and resetting the installation, following https://stackoverflow.com/a/19397632/1926621

Removed all old settings, and installation of Android Studio( kept the SDK files). Changed the path. Opened the same project, and the options were now there!

这篇关于如何为 Android Studio 3.0 禁用 Instant Run的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆