安装期间报错:
Installation failed with message Failed to finalize session : INSTALL_FAILED_USER_RESTRICTED: Install canceled by user.
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?
报错分析:是手机原来安装了另外的版本。确定后删除,依然报同样的错误。做如下设置,解决。
如题,解决方案
1,进入开发者模式,到最下面把MIUI优化关闭,重启手机
2,打开USB调试
3,打开USB安装,该功能需要登录小米账号