smart-test-ti / SoloX

💯SoloX - Real-time collection tool for Android/iOS performance data.(Android性能测试android performance\iOS性能测试ios performance\移动端性能测试mobile performance\APP性能测试app performance\app性能测试工具)
https://smart-test-ti.github.io/solox
MIT License
979 stars 173 forks source link

连不上设备 #186

Closed cmttttttt closed 1 year ago

cmttttttt commented 1 year ago

我是win10,装的2.5.7的版本iOS和安卓都连不上,提示“连接失败”

rafa0128 commented 1 year ago

就一句话叫我怎么办

rafa0128 commented 1 year ago

要提供报错日志,连接失败一般是环境没有弄好,仔细看文档

986379041 commented 1 year ago

我也连不上: [E 230809 19:53:28 apis:88] 'utf-8' codec can't decode byte 0xb2 in position 56: invalid start byte Traceback (most recent call last): File "D:\Program Files\Python\Python310\lib\site-packages\solox\view\apis.py", line 76, in deviceids pkgnames = d.getPkgnameByiOS(deviceinfos[0].split(':')[1]) File "D:\Program Files\Python\Python310\lib\site-packages\solox\public\common.py", line 117, in getPkgnameByiOS pkgResult = self.execCmd(f'tidevice --udid {udid} applist').split('\n') File "D:\Program Files\Python\Python310\lib\site-packages\solox\public\common.py", line 32, in execCmd text = r.buffer.read().decode(encoding='utf-8').strip() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb2 in position 56: invalid start byte

rafa0128 commented 1 year ago

更新solox最新的版本