使用Android Studio 2.0启动Android应用程序时安装重新启动补丁时出错 [英] Error while Installing restart patches when launching android app with Android Studio 2.0

查看:336
本文介绍了使用Android Studio 2.0启动Android应用程序时安装重新启动补丁时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我正在使用Android Studio 2.0并将我的APK安装到我的三星设备(S6)中。但是,重建我的代码并再次运行时,我收到以下错误:

Currently I'm using Android Studio 2.0 and installing my APK into my Samsung device (S6). However, when rebuilding my code and running it again I receive the following error:

Error installing cold swap patches: com.android.tools.fd.client.InstantRunPushFailedException: Error creating folder with: run-as com.appcustomer mkdir -p /data/data/com.appcustomer/files/instant-run/inbox
Error while Installing restart patches

有谁知道这个问题是什么?

Does anyone have any idea what this issue is?

推荐答案

我认为这个问题是由Android Studio 2.0的即时运行功能引起的。这可能会有所帮助

I think the issue is due to instant run feature of Android Studio 2.0. This might help


  1. 打开设置或首选项对话框。

  2. 导航到构建,执行,部署>即时运行。

  3. 取消选中代码更改时重新启动活动旁边的框

这篇关于使用Android Studio 2.0启动Android应用程序时安装重新启动补丁时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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