Mr_老冷 发表于 2024-1-11 10:57:39

【EasyClick】【安卓】only the original thread that created a view hierarchy can touch its view解决方法

ec分为ui线程和脚本线程

关于ui的操作必须在ui.js里执行
如果需要在main.js中操作,必须用ui.run包起来
ui.run(0,function(){
view.setText("123")
})
页: [1]
查看完整版本: 【EasyClick】【安卓】only the original thread that created a view hierarchy can touch its view解决方法