Android studio在实机魅蓝e上运行安装app时,出现INSTALL_FAILED_USER_R- ESTRICTED错误。
错误信息如下:
Installation failed with message INSTALL_FAILED_USER_RESTRICTED.
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?
解决办法:打开手机管家,点击权限管理,USB安装管理,将其关闭,这样就可以正常的在手机上安装apk文件进行测试了。