ADB 关闭指定应用 并打开
import subprocess,time sjh="192.168.1.102:5555" aa1="adb -s {0} shell pm clear com.kuaishou.nebula".format(sjh) process = subprocess.Popen(aa1,shell=True) time.sleep(6) aa2="adb -s {0} shell am start -n com.kuaishou.nebula/com.yxcorp.gifshow.HomeActivity".format(sjh) process = subprocess.Popen(aa2,shell=True)