Douyin-Bot icon indicating copy to clipboard operation
Douyin-Bot copied to clipboard

运行 python douyin-bot.py,报 “请安装 ADB 及驱动并配置环境变量”问题。

Open pengcgithub opened this issue 6 years ago • 9 comments

windows环境,安装adb是可以获取手机信息的。 image

但是在编辑器中执行python douyin-bot.py依旧报“请安装 ADB 及驱动并配置环境变量”的错误,请问这是什么原因?

pengcgithub avatar May 29 '18 12:05 pengcgithub

程序运行时的 log 麻烦贴一下

Sent from my OnePlus5 using FastHub

wangshub avatar May 29 '18 15:05 wangshub

@pengcgithub

wangshub avatar May 29 '18 15:05 wangshub

@wangshub 我估计这个库到时候和跳一跳一样的命运:(

leon332157 avatar May 29 '18 19:05 leon332157

image @wangshub 刚刚上面那个问题已经解决了,现在项目是能够正常运行的。但是在调用人脸接口时,一直返回-1,求解决下。(ps:用的程序内的账号调的接口)

pengcgithub avatar May 30 '18 02:05 pengcgithub

@pengcgithub apituil.py 42行dict_rsp = json.loads(str_rsp.decode('utf-8'))

firebroo avatar May 30 '18 02:05 firebroo

@firebroo 多谢,已解决。

pengcgithub avatar May 30 '18 03:05 pengcgithub

@pengcgithub “请安装 ADB 及驱动并配置环境变量”的问题如何解决?

sRemnant avatar May 30 '18 11:05 sRemnant

@sRemnant 将Tools中的几个文件复制到Doulin-Bot根目录,然后再次运行Python doulin-bot.py文件即可。ps:前提是cmd运行adb devices命令能够看到手机的驱动号

pengcgithub avatar May 30 '18 14:05 pengcgithub

终于看到一个有中文的了。。

jinxi111 avatar Jun 02 '18 16:06 jinxi111