在android studio中安装失败 [英] Installation failed in android studio

查看:157
本文介绍了在android studio中安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在模拟器上运行android应用程序时,我一次又一次收到此错误消息.

I get this error message again and again when i try to run the android application on the emulator.

安装失败,并显示消息无效文件:F:\ PSL2.0 \ app \ build \ intermediates \ split-apk \ debug \ slices \ slice_4.apk. 可以通过卸载apk的现有版本(如果存在)然后重新安装来解决此问题.

Installation failed with message Invalid File: F:\PSL2.0\app\build\intermediates\split-apk\debug\slices\slice_4.apk. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

警告:卸载将删除应用程序数据!

WARNING: Uninstalling will remove the application data!

该项目在我的项目团队成员的计算机上开发,并在我的电脑上显示此错误,这可能就是为什么它无法正常工作的原因!

The project was devepoped on my project teammate's computer and giving this error on my pc, may be that's why its not working!

推荐答案

在设置中禁用即时运行> Build,Execution,Deployment>立即运行并禁用它!

Disable instant run in settings>Build,Execution,Deployment>Instant run and disable it!

这篇关于在android studio中安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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