Error:
Traceback (most recent call last):
File "G:/MyPython/MyAirTest/V500/adb的代码库测试.py", line 12, in
d.rotation()
File "C:\Program Files\Python38\lib\site-packages\adbutils\mixin.py", line 292, in rotation
raise AdbError("rotation get failed")
adbutils.errors.AdbError: rotation get failed
Script: import adbutils devide=adbutils.AdbClient(host="127.0.0.1",port=5037) d=devide.device_list()[0]
print(d.is_screen_on())
print(d.current_app()) d.app_start("com.android.launcher3") d.rotation()
Error: Traceback (most recent call last): File "G:/MyPython/MyAirTest/V500/adb的代码库测试.py", line 12, in
d.rotation()
File "C:\Program Files\Python38\lib\site-packages\adbutils\mixin.py", line 292, in rotation
raise AdbError("rotation get failed")
adbutils.errors.AdbError: rotation get failed