android - 无法在 Android Studio 3.0 上使用 Instant Run 运行应用程序

标签 android android-studio-3.0 android-instant-run

我已经更新到 Android Studio 3.0,现在我无法在启用Instant Run 的情况下运行该应用。

由于 java.io.FileNotFoundException,我得到“任务执行失败”,因为它找不到

下的 apk

../build/intermediates/instant-run-resources/resources-production/

知道如何克服这个问题以便我可以使用 Instant Run 运行项目吗?

我不确定在哪里可以找到丢失的 apk 文件或如何更改路径以在其中查找它。

最佳答案

设置如下,

enter image description here

否则尝试清理并重新安装(在卸载现有 apk 之后)应用程序。

关于android - 无法在 Android Studio 3.0 上使用 Instant Run 运行应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47273923/

相关文章:

android - 多条推送消息 : The content of the adapter has changed but ListView did not receive a notification

android - 合并 android.graphics.Path 实例?

android - 升级到 Android Studio 3.4,现在无法运行我的应用程序

android - requestRouteToHost IP 参数

java - Android View.getDrawingCache() 抛出 CalledFromWrongThreadException

android - 无法在 Android Studio 3.0 AVD Manager 或 SDK Manager 中下载系统镜像

Android Studio 创建项目生成带有垃圾字符的 colors.xml

android - 在 Android Studio 2.0 中即时运行(如何关闭)

android - Android-建立项目时

Android Studio 2.0 即时运行不起作用但出现此提示?