随笔分类 -  adb

bat(dos)命名通过adb给多个手机安装多个apk文件
摘要:1 ::echo off关闭回显功能,加上@命令行自身也不回显; ::echo 输出提示信息; ::if条件判断语句,格式:if [not] exist filename command; ::*号表示任意n个字符;表示任意一个字符使用?; ::goto s1跳转到标号:s1处,然后执行标号后的命令 阅读全文

posted @ 2021-01-25 22:16 星空6 阅读(486) 评论(0) 推荐(0)

python,adb,分别给多个设备安装多个apk文件,os.popen(); os.system; os.path.splitext(); a.split(' \t'); readlines(); append(); os.path.join(); time.sleep();
摘要:#encoding:utf-8import os,time# 查找手机设备序列号 a='adb devices'b=os.popen(a).readlines()#print(b)l=[]for sn in b: if 'device' in sn and 'List' not in sn: a=s 阅读全文

posted @ 2019-11-19 15:47 星空6 阅读(339) 评论(0) 推荐(0)

adb
摘要:adb安装的2种方式 方式一: 下载 android-sdk_r24.2-windows.zip 解压缩,双击SDK Manager.exe,安装,在platform-tools显示adb.exe ; 方式二: 只下载adb压缩包去解压即可 https://pan.baidu.com/s/1D3eO 阅读全文

posted @ 2019-11-18 16:26 星空6 阅读(221) 评论(0) 推荐(0)

导航