openatx / uiautomator2

Android Uiautomator2 Python Wrapper
MIT License
6.48k stars 1.38k forks source link

screenshot出来的是白屏 #1000

Closed liaoxuewei closed 2 months ago

liaoxuewei commented 3 months ago

screenshot出来的是白屏,有可能是什么原因引起?前几天我记得还是可以的,然后不知道为什么过了一段时间看就不行了

liaoxuewei commented 3 months ago

截屏没有任何错误

liaoxuewei commented 3 months ago

adb shell screencap -p /sdcard/screen.png运行这个adb命令,截屏也是白屏 adb shell screenrecord /sdcard/demo.mp4运行这个可以录屏

codeskyblue commented 2 months ago

try uiautomator2 3.2.0

codeskyblue commented 2 months ago

暂时先关闭了,如果还有问题再reopen