安装失败并显示消息 Failed to create install session with 'cmd package install-create -r -t -S 1647504' [英] Installation failed with message Failed to create install session with 'cmd package install-create -r -t -S 1647504'

查看:52
本文介绍了安装失败并显示消息 Failed to create install session with 'cmd package install-create -r -t -S 1647504'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试通过 android studio 3.4.1 运行 apk 时收到错误消息

I am getting an error message while trying to run an apk through android studio 3.4.1

安装失败并显示消息无法使用cmd package install-create -r -t -S 1647504"创建安装会话.可以通过卸载现有版本的 apk(如果存在)然后重新安装来解决此问题.

Installation failed with message Failed to create install session with 'cmd package install-create -r -t -S 1647504'. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

我已经尝试清理项目,重建项目并取消选中即时运行选项,但似乎都没有工作

i have tried cleaning the project, rebuilding the project and unchecking the instant run option as well, none of them seems to have worked

推荐答案

以下是对我有用的解决方案:

The below is the solution that worked for me:

  1. 在 Android Studio 中,转到工具 -> AVD 管理器.
  2. 选择您尝试部署 APK 的设备,使用向下的三角形展开操作并从模拟器擦除数据.

这篇关于安装失败并显示消息 Failed to create install session with 'cmd package install-create -r -t -S 1647504'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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