Meowcolm024 / FGO-Automata

一个FGO脚本和API フェイトグランドオーダー自動化
https://meowcolm024.github.io/FGO-Automata/
MIT License
119 stars 33 forks source link

连接Mumu模拟器时报错 #55

Closed PpWenCC closed 3 years ago

PpWenCC commented 3 years ago

Language:

Please describe the issue specifically. It's recommended to attach the output log and the screenshot. 请具体描述您遇到的问题。建议附上输出记录和截图。

每次运行脚本之前连接的模拟器就会断开连接 但是在真机上可以运行。使用mumu模拟器 分辨率是1920*1080 DPI 480 以下为报错

`(venvp) E:\Programme\Python\FGO-Automata-master>adb devices & python Qp.py & adb devices List of devices attached 127.0.0.1:7555 device

List of devices attached

`

Meowcolm024 commented 3 years ago

模拟器的Android版本是多少

PpWenCC commented 3 years ago

感谢大佬回复! 模拟器是安卓6.0.1 屏幕截图 2021-08-13 090257

Meowcolm024 commented 3 years ago

噢,因为之前更新了截图获取方式,好像需要Android 7或以上版本。 参考: https://github.com/Meowcolm024/FGO-Automata/blob/26572827857ad2551920e878bc7201afe2ff9aec/core/util.py#L65

PpWenCC commented 3 years ago

感谢!!我去尝试更新一下mumu模拟器的安卓版本