不兼容python3,执行demotest/hello.py报编码错误
imxuya opened this issue · comments
imxuya commented
执行demotest/hello.py报错如下:
2019-01-29 13:26:42,642 7832 thread Thread-2 exit
Traceback (most recent call last):
File "C:\Python36\lib\site-packages\qt4a\androiddriver\util.py", line 525, in run
return threading.Thread.run(self)
File "C:\Python36\lib\threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "C:\Python36\lib\site-packages\qt4a\androiddriver\adb.py", line 486, in _logcat_thread_func
log = self._log_pipe.stdout.readline().decode('utf8').strip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 131: invalid continuation byte