最近从AS向手机发布项目过程中经常出现, 问题虽小,但是开发过程中确实浪费时间。
It is possible that issue is resolved by uninstalling an existing version of the apk if it is present,an then re-installing
warning :uninstalling will remove the application data!
发布几次死活装不上去,clean project 也没有用,最后找到了问题解决方案,file-settings-搜索instant run,然后都取消,点击apply就可以正常发布到手机了。估计是android studio 的instant run 的bug,把instant run 选项去掉,编译安装就成功了。