Javet
Javet copied to clipboard
proxy 接口无效
js这样实现会出现什么也不输出的情况 类似卡住 也没有报错 没有任何输出 只能输出到开始 后面的感觉和没执行一样
java直接实现是正常的
这是这个接口的具体实现
I'm afraid I'm not able to get what is the problem you are presenting. Here are a few tips for your reference.
- Avoid executing JS code or accepting callbacks in UI thread.
- Try to leave the complete and minimal code snippet so that others can reproduce the issue.
恐怕我无法理解您提出的问题是什么。以下是一些提示供您参考。
- 避免在 UI 线程中执行 JS 代码或接受回调。
- 尽量保留完整且最少的代码片段,以便其他人可以重现该问题。
我的意思是 我按照文档的方式调用实现接口的没有效果 这个代码是在子线程调用的 不是在ui的线程中 但是他调用接口后后面的代码都和停掉了一样
You may join discord and ping me. I'll give you a qrcode to a WeChat group where many Chinese Javet users have group discussion.
我知道了 是堵塞在 println("执行挂起")下面的等待执行完成这里 但是很奇怪 java运行 没任何问题 js调用 会堵塞在这俩