mnotgod96 / AppAgent

AppAgent: Multimodal Agents as Smartphone Users, an LLM-based multimodal agent framework designed to operate smartphone apps.
https://appagent-official.github.io/
MIT License
4.84k stars 511 forks source link

鸿蒙OS兼容请求 #80

Open Youjin1985 opened 3 months ago

Youjin1985 commented 3 months ago

Sorry I can't create pul request, so I'll describe issue and fix there: On HarmonyOS, controller cannot get device resolution when it calls get_device_size() Fix: in scripts/and_controller.py change line 101 return map(int, result.split(": ")[1].split("x")) to return map(int, result.split('\n')[0].split(": ")[1].split("x"))

Otherwise its not usable with HarmonyOS