Error: INSTALL FAILED INVALID APK: Split lib_slice_0_apk was defined multiple times.

开发工具:Android Studio

使用真机运行调试时无法启动,报错如下

Installation failed with message Failed to commit install session 100394432 with command cmd package install-commit 100394432. Error: INSTALL FAILED INVALID APK: Split lib_slice_0_apk was defined multiple times.
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?

个人理解应该是说手机上以存在该APP,让我把它卸载重新安装,但我是第一次真机调试。

【最后解决方式】
Build - Clean Project - Run ‘APP’
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_42547014/article/details/109065236