appium高级控件交互-ActionChains实现长按坐标点操作,为什么报错?求指教

def touch_long_press_xy(self, x, y):
“”"
长按固定坐标点xy
:param x: x坐标
:param y: y坐标
“”"
try:
actions = ActionChains(self.driver)
# 可以定义鼠标指针源,键盘源,滚轮源事件
actions.w3c_actions = ActionBuilder(self.driver, mouse=PointerInput(interaction.POINTER_TOUCH, “touch”))
# 移动到坐标点
actions.w3c_actions.pointer_action.move_to_location(x, y)
# 按下
actions.w3c_actions.pointer_action.pointer_down()
sleep(1)
#print(actions.w3c_actions.pointer_action.pointer_down())
#停顿3s
actions.w3c_actions.pointer_action.pause(3)
# 释放
actions.w3c_actions.pointer_action.pointer_up()
# 执行
actions.perform()
except Exception as e:
logger.error(f"Error: {e}")

目前有两个问题:
(版本:Appium-Python-Client 2.11.0,selenium 4.15.2,appium-sever1.13.0)
1、在小米设备上执行,调用到这个函数会报: [ERROR]: Error: Message: An unknown server-side error occurred while processing the command. Original error: Unable to perform W3C actions. Check the logcat output for possible error reports and make sure your input actions chain is valid.
但不影响最终结果,最终passed

2、在vivo pad上执行看服务器返回信息,有按顺序执行,状态返回200,但观察执行动作,未按照预期执行长按预设坐标的操作,不知为什么?
求大神指教!!!