安卓真机测试:Installation error: INSTALL_CANCELED_BY_USER

installation failed with message 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.

我用的是手机是小米2S,更新了一下系统(由5.0.1升级到5.0.2),结果app安装不上了,尝试了好几次都不行。

后来进入手机的USB调试,有一个“USB安装”按钮,把它打开就行了。

你可能感兴趣的:(Android,Studio相关)