adb shell pm list packages 列出所有包名adb uninstall PACKAGE_NAME 卸载
adb shell pm list packages
adb uninstall PACKAGE_NAME
1234567
#!/bin/bashfor package_name in `adb shell pm list packages -3 | awk 'BEGIN { FS = ":|\r" } { print $2 }'`; do echo adb uninstall ${package_name} adb uninstall ${package_name} echo -------------done