标签:and find 查看 bad net pre 结束 font pid
获取apk包名和
launchable-activity:
aapt
dump badging xxxx.apk
aapt
dump badging xxxx.apk |
find
"launchable-activity"
安装apk:
adb install | -r <apkName> -r
覆盖原安装文件 -s
可以指定设备
eg:
#
默认安装
adb install "C:
\Users
\zhaofeng\Desktop
\wandoujia.apk"
#
覆盖安装
adb install -r "C:
\Users
\zhaofengDesktop
\wandoujia.apk"
#
指定设备安装
adb -s 127.0.0.1:62001 install C:
\Users
\zhaofeng\Desktop
\wandoujia.apk"
查看设备上安装的应用包名:
adb
shell pm list package
查看指定端口状态及释放:
查找5037端口:netstat -ano | findstr
"5037"
结束指定的进程:taskkill -f -pid XXX(进程号)
标签:and find 查看 bad net pre 结束 font pid
原文地址:https://www.cnblogs.com/zf612326/p/9367159.html