美文网首页
ADB安装卸载APK

ADB安装卸载APK

作者: 今天你真好看fighting | 来源:发表于2017-10-22 14:17 被阅读0次

    win + R  输入cmd , 打开命令行

    adb install [apkpath]      给定apk文件的路径,执行即可(apk拖进来就可以)

    adb uninstall packagename  uninstall操作需要给出应用的包名

    如果出现这个问题 INSTALL_FAILED_UPDATE_INCOMPATIBLE

    先卸载一次adb uninstall packagename
     再安装~

    安装app命令:

    app installation:

    install [-lrtsdg] PACKAGE 

    install-multiple [-lrtsdpg] PACKAGE...

    push package(s) to the device and install them

    -l: forward lock application

    -r: replace existing application

    -t: allow test packages

    -s: install application on sdcard

    -d: allow version code downgrade (debuggable packages only)

    -p: partial application install (install-multiple only)

    -g: grant all runtime permissions

    卸载app命令

    uninstall [-k] PACKAGE

    remove this app package from the device

    '-k': keep the data and cache directories

    相关文章

      网友评论

          本文标题:ADB安装卸载APK

          本文链接:https://www.haomeiwen.com/subject/aovguxtx.html