AppAgent icon indicating copy to clipboard operation
AppAgent copied to clipboard

鸿蒙OS兼容请求

Open Youjin1985 opened this issue 1 year ago • 0 comments

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

Youjin1985 avatar Jun 07 '24 03:06 Youjin1985