APK通过USB 安装失败
按运行后,安装时:
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!
Log信息为:Failed to finalize session : INSTALL_FAILED_USER_RESTRICTED: Install canceled by user
解决步骤:
1:clean project
2:打开USB调试功能和 USB安装(允许通过USB安装应用!!!!!!)