auto.js请问这个代码怎么运行不了呀 代码复制的 不是很会

// 设置图片文件路径
var imageFilePath = "/storage/emulated/0/DCIM/Screenshots/准备.jpg";
// 获取设备屏幕宽度和高度
var screenWidth = device.width;
var screenHeight = device.height;
// 查找图片
var image = images.findImage(imageFilePath);
// 检查图片是否存在
if (image) {
// 点击图片
image.click();
toast("点击图片成功!");
} else {
toast("未找到图片!");
}
