NetEaseGame / ATX

Smart phone automation tool. Support iOS, Android, WebApp and game.
Apache License 2.0
1.58k stars 422 forks source link

d=atx.connect() #会报错提示:Function ‘connect’ does not return anythin #155

Closed zhuhaoHappig closed 6 years ago

zhuhaoHappig commented 6 years ago

Version information

What steps will reproduce the problem?

import atx 1、d=atx.connect() #这行会报错提示:Function ‘connect’ does not return anything如图1 2、且d. 后面跟不出任何方法,如图2 3、打印print(d)之后,控制台打印出:<atx.drivers.android.AndroidDevice object at 0x00000198F6CE8208> 4、强行运行d.screenshot("123.png")之后仍然报错 总结: python正常环境和虚拟环境都试了,所以环境都安装成功,但都有此问题,求问什么原因?多谢了·

codeskyblue commented 6 years ago

这个是atx这个库设计的问题,太难fix了,只能从头写起。先放弃了