adb常见命令(工具)

查看当前显示的应用信息1、显示界面全限定类名adb shell dumpsys window | findstr mCurrentFocus2、显示界面包括view树等详细信息adb shell dumpsys activity top3、显示界面Intent// 搜索 intent.actionadb shell dumpsys activity activities启动时间adb shell am start -W com.demo.test/.ui.activity.MainA
摘要由CSDN通过智能技术生成

查看当前显示的应用信息

1、显示界面全限定类名

adb shell dumpsys window | findstr mCurrentFocus

2、显示界面包括view树等详细信息

adb shell dumpsys activity top

3、显示界面Intent

// 搜索 intent.action
adb shell dumpsys activity activities

启动时间

adb shell am start -W com.demo.test/.ui.activity.MainActivity

导出电量txt

adb shell dumpsys batterystats > batterystats.txt

抓取log

adb logcat -v time > log.txt

导出ANR文件

1、adb shell ls data/anr
2、adb bugreport C:\User\admin\Desktop

adb连接

1、adb devices
2、adb -s 设备名 shell
3、adb disconnect
4、adb tcpip 5555
5、adb connect ip值

生成SSL

1、git升级最新版本,自带openSSL组件
2、ssh-keyge

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值