• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 45 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0030 秒)

1. HttpRequest在网页上和APP上表现不一致 [ 100%]

...30000, this, ()=>{     let hr = new Laya.HttpRequest();     hr.http.timeout = 3000;     hr.http.ontimeout = function(){console.log("http timeout test: timeout")};     hr.once(Laya.Event.COMPLETE, this, ()=>{console.log("http timeout test: success");});     hr.once(Laya.Event.ERROR, t...

来源: Laya_社区 发布时间: 20171016

2. 把 hr.http.timeout 设置后,如果超时没消息返回 [ 99%]

把 hr.http.timeout 设置后,如果超时没消息返回 如果我设置为 hr.http.timeout = 3000 (秒),后端设置为10秒后返回,3秒超时后..没消息返回,不是应该有个超时消息返回的? 这个应该怎么处理? 谢谢了.   2017-10-16 添加评论 免费帖 --> 分享 微博...

来源: Laya_社区 发布时间: 20171016

3. laya2.0构建app时url不再支持.html文件,但是需要runtime.json这个文件是怎么来的? [ 91%]

...Current: 0xe05ec520: ver 3 1 (tinfo 0xe201f990) W/LayaBox: download error: timeout, dt=8,opttimeout=1798 I/LayaBox: Downloaded http://192.168.0.72/web3/updat ... 44%40 s=0 l=0 I/LayaBox: Download [  ]:http://192.168.0.72/web3/runtime.json W/LayaBox: download error: timeout, dt=8,opttimeout=1798 I/L...

来源: Laya_社区 发布时间: 20190222

4. laya2.8.0IDE工具中打安卓包(LayaNative版本相同),无法加载游戏启动页 [ 90%]

...gt;>JCConchRender::clearAllData =-1096760864 W/LayaBox: download error: timeout, dt=8,opttimeout=1798 I/LayaBox: Downloaded http://happiness.joyleafs.com/ncapi/client/app*/*/assetsid.txt?rand=1121768099606.6038@ s=0 l=0 I/LayaBox:  onerror UnknownError      assetsid old:  new:null I/LayaBox:...

来源: Laya_社区 发布时间: 20210305

5. 打包成Android应用,获取首页链接经常超时最后卡在加载界面 [ 89%]

...app.html?app=1 09-23 11:41:23.476 16178-16271/? W/LayaBox: download error: timeout, dt=8,opttimeout=1798 09-23 11:41:23.476 16178-16271/? I/LayaBox: Downloaded http://192.168.0.130/release/index_app.html?app=1@ s=0 l=0 09-23 11:41:23.479 16178-16304/? I/LayaBox:  xhr.GET url=http://192.168.0.130/re...

来源: Laya_社区 发布时间: 20170923

6. [LayaNative2.0] Laya.HttpRequest 怎么设置 timeout [ 89%]

[LayaNative2.0] Laya.HttpRequest 怎么设置 timeout 已经设置 request.http.timeout 无效。请求支援 2020-04-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要...

来源: Laya_社区 发布时间: 20200405

7. native下HttpRequest设置超时无效 [ 87%]

...时设置超时: var httpRequest = new HttpRequest(); httpRequest.http.timeout = 3000; 在做http请求时,如果丢包了,那么这个请求要很久(超过1分钟)才会返回失败。   请教下有碰到过这个问题的同学吗,是怎么解决的呢? 附件 : --> 2020-11-13 添加...

来源: Laya_社区 发布时间: 20201113

8. 获取位置信息 · LayaAir3.0文档 · LAYABOX [ 86%]

...会得到更快速的响应和更少的电量消耗。默认值为false。 timeout —— 代表返回位置的最大时间(毫秒)限制。默认值是Infinity,意味着getCurrentPosition()直到位置可用时才会返回。 maximumAge —— 代表可返回的可用缓存位置的最大时...

来源: Laya3.0_文档 发布时间: 20230725

9. Cannot connect to runtime process, timeout after 10000 ms [ 86%]

Cannot connect to runtime process, timeout after 10000 ms 参照例子新建了一个TS项目,可以用layaair调试,但无法使用chrome调试。报错: Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: undefined).   1.已经试过任务管...

来源: Laya_社区 发布时间: 20170427

10. Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the targ 如何解决 [ 84%]

Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the targ 如何解决 2017-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 dashiming 赞同来自: 在编辑这个输出...

来源: Laya_社区 发布时间: 20170526