Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

连接不上雷电模拟器 #196

Closed
Ranshaoer opened this issue Aug 9, 2023 · 1 comment
Closed

连接不上雷电模拟器 #196

Ranshaoer opened this issue Aug 9, 2023 · 1 comment

Comments

@Ranshaoer
Copy link

每次都需要把 common.py 中的result['wifiadr'] = adb.shell(cmd=cmd, deviceId=deviceId).split(' ')[1]
修改成
_a= adb.shell(cmd=cmd, deviceId=deviceId).split(' ')
result['wifiadr'] = _a[1] if len(_a) > 1 else ""
才能连接上模拟器,麻烦作者看看这里怎么帮处理下 要不然每次更新完都得修改下

@rafa0128
Copy link
Member

每次都需要把 common.py 中的result['wifiadr'] = adb.shell(cmd=cmd, deviceId=deviceId).split(' ')[1] 修改成 _a= adb.shell(cmd=cmd, deviceId=deviceId).split(' ') result['wifiadr'] = _a[1] if len(_a) > 1 else "" 才能连接上模拟器,麻烦作者看看这里怎么帮处理下 要不然每次更新完都得修改下

看上去这种模拟器不支持获取wifi地址,我屏蔽掉就好

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants