adb命令查询手机分辨率

通用方法:

adb shell dumpsys window displays | head -n 3

WINDOW MANAGER DISPLAY CONTENTS (dumpsys window displays)

Display: mDisplayId=0

init=720x1280 320dpi cur=720x1280 app=720x1280 rng=720x672-1280x1232


高通平台:

adb shell wm size

Physical size: 720x1280

你可能感兴趣的:(adb命令查询手机分辨率)