问题:
The device already has a newer version of this application. In order to proceed, you will have to uninstall the existing application WARNING: Uninstalling will remove the application data! Do you want to uninstall the existing application?
设备已具有此应用程序的较新版本。为了继续,您必须卸载现有的应用程序警告:卸载将删除应用程序数据!是否要卸载现有的应用程序?
原因:
说是因为apk一致,导致的app安装失败,搜索说是因为包名等等不一致
解决:
因为在中途我自己改过包名,后来发现在build.gradle(app)里面包名没有改成功,在
applicationId和namespace
里,包名正确修改就可以了。