这种错误是属于手机问题,是否卡顿中导致没响应,或者手机点了拒绝.重试一次就ok.
aadeMBP:redpacket aaa$ adb install -r app/release/87_情迁红包1.6.4.1-release.apk
app/release/87_情迁红包1.6.4.1-release.apk: 1 file pushed. 2.1 MB/s (1746145 bytes in 0.775s)
pkg: /data/local/tmp/87_情迁红包1.6.4.1-release.apk
Failure [INSTALL_FAILED_USER_RESTRICTED]
aaadeMBP:redpacket aaa$ adb install -r app/release/87_情迁红包1.6.4.1-release.apk
app/release/87_情迁红包1.6.4.1-release.apk: 1 file pushed. 1.8 MB/s (1746145 bytes in 0.911s)
pkg: /data/local/tmp/87_情迁红包1.6.4.1-release.apk
Success