Android Studio 向虚拟机部署程序失败

如题:

Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/。。。。

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?

类似以上错误,解决方式:点击build->clean project ,然后再点击 rebuild project。然后部署就过去了。

猜你喜欢

转载自www.cnblogs.com/MartinSun123/p/9241168.html