adb: failed to install Magisk-v23.0.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.topjohnwu.magisk without first uninstalling.]

adb 安卓magisk 报错,错误信息是 adb: failed to install Magisk-v23.0.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.topjohnwu.magisk without first uninstalling.]

 

C:\Users\16613\Desktop\shuaji8.1>adb install Magisk-v23.0.apk
adb: failed to install Magisk-v23.0.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install com.topjohnwu.magisk without first uninstalling.]

C:\Users\16613\Desktop\shuaji8.1>adb install -r C:\Users\16613\Desktop\shuaji8.1\Magisk-v23.0.apk
Success

 

使用adb install安装apk的时候,设备上已经安装过一个版本,再次安装的话,会安装失败,出现如下提示信息:INSTALL_FAILED_ALREADY_EXISTS

这时只要在命令中添加-r即可覆盖安装:

adb install -r 你的apk完整路径

 

 

posted @ 2022-01-06 17:18  淋哥  阅读(617)  评论(0编辑  收藏  举报