安装失败,并显示消息无效文件 [英] Installation failed with message Invalid File
问题描述
安装失败,并显示消息无效文件: K:\ project \ app \ build \ intermediates \ split-apk \ with_ImageProcessor \ debug \ slices \ slice_0.apk. 可以通过卸载现有解决方案来解决此问题. 版本的apk(如果存在),然后重新安装.
Installation failed with message Invalid File: K:\project\app\build\intermediates\split-apk\with_ImageProcessor\debug\slices\slice_0.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!
您要卸载现有的应用程序吗?
Do you want to uninstall the existing application?
我正在android studio 2.3 beta 3中运行我的项目.
i am running my project in android studio 2.3 beta 3 .
推荐答案
我找到了解决方法
设置>构建,执行,部署>即时运行>启用即时运行以 部署时热插拔代码/资源更改(未选中此选项)
settings>build,execute,deployment>instant run>Enable instant run to hot swap code /resource change on deploy(unchecked this option)
`
这篇关于安装失败,并显示消息无效文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!