Installation failed with message Invalid File: C:\chubao\hongrenguan7\magicred_android\JuGaoGao\app\build\intermediates\split-apk\debug\slices\slice_9.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!
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?
===================================================================================
解决方案:去掉instant Run 即可(File ==>Settings==>Build===>Instant Run),把Enable 的勾去掉
本文解决了一个具体的安装失败问题,提示信息为InvalidFile:C:chubaohongrenguan7magicred_androidJuGaoGaoappuildintermediatessplit-apkdebugslicesslice_9.apk。建议的方法是通过取消启用Instant Run功能来解决此问题。

1万+

被折叠的 条评论
为什么被折叠?



