前言

简单记录一下Android设备多个屏幕或单个屏幕的截图方式。

记录一下,方便自己查阅。

正文

查看displayId

查看有屏幕的displayId

  1. adb shell dumpsys window displays | grep displayId
复制
ubuntu
  1. $ adb shell dumpsys window displays | grep displayId displayId=0
复制
window
  1. C:\Users\admin>adb shell dumpsys window displays | findstr displayId displayId=0
复制

我这里只有一块屏幕,displayId为0

截屏

隐藏内容!
付费阅读后才能查看!
1
3
多个隐藏块只需支付一次

参考文章

  1. android 设备如何对多个屏幕截图

相关文章

暂无评论

none
暂无评论...