#!/usr/bin/env python
import os
def uninstall():
os.popen("adb wait-for-device")
print "start uninstall..."
for packages in os.popen("adb shell pm list packages -3").readlines():
packageName = packages.split(":")[-1].splitlines()[0]
os.popen("adb uninstall " + packageName)
print "uninstall " + packageName + " successed."
if __name__ == "__main__":
uninstall()
print " "
print "All the third-party applications uninstall successed."
查看更多关于使用python编写批量卸载手机中安装的android应用脚本的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did87715