工作中遇到的需求,要安装多个apk,所以就搜索资料资写了批量安装脚本,当然要安装就要卸载,顺便也写了个卸载脚本。 安装脚本内容:
@echo off setlocal EnableDelayedExpansion title install apks color 0a :: 重启adb 保证能顺利连接 adb kill-server adb start-server adb wait-for-device set ApkPath=