parent为啥报错啊

22:49:24.384/E: TypeError: Cannot find function parent in object className("android.view.View").text("你好"). (/storage/emulated/0/脚本/a.js#19)
TypeError: Cannot find function parent in object className("android.view.View").text("你好").
它是有parent的

把源码贴出来啊。。。