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

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

61. LayaAir 和 安卓浏览器预览调试报错, IOS和chrome 无问题 [ 53%]

...了 apeCom • 2017-11-01 17:29 @Monica:Cannot connect to runtime process, timeout after 10000 ms - (reason: Can't find a targe 运行开始之后闪退 Monica • 2017-11-01 20:02 @apeCom:把运行的窗口都关掉,然后重新编译运行看下。。如果还是不行的话改下.laya/launch.js...

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

62. 用谷歌获取经纬度报错? [ 52%]

...ILABLE) errType = "Position Unavailable"; else if (err.code == Geolocation.TIMEOUT) errType = "Time Out"; trace('ERROR(' + errType + '): ' + err.message); } 报Network location provider at 'https://www.googleapis.com/' : No response received. 请问有没有实例 谢谢 2018-04-02 添加评论 免...

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

63. layaAir IDE 1.7.5 调试 chrome , 运行几十秒就关闭chrome,弹出如下提示 [ 52%]

...秒就关闭chrome,弹出如下提示 Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: "port" option should be >= 0 and < 65536: 92222). 2017-06-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...

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

64. 我打印laya.stage时看到有个_width 但是我打印laya.stage._width 得到值和之前看到的不一样 [ 52%]

... 2018-06-14 16:54 应该是因为这个是异步加载导致的 设了个timeout就获取对了

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

65. 分享:常见 IDE 错误提示解决方案 [ 51%]

...型2:   报错类型3: IDE错误:Cannot connect to runtime process, timeout after 10000 ms - (reason: Cannot connect to the target: connect ETIMEDOUT 127.0.0.1:9222).------可以参考开发者的解决方式(http://ask.layabox.com/question/4392)   以上报错可能是端口号冲突导...

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

66. 请问:通过Laya.Geolocation来定位存在较大误差(超过1公里),该如何解决? [ 51%]

...BLE: alert("暂时获取不到位置信息"); break; case Laya.Geolocation.TIMEOUT: alert("获取位置信息超时"); break; default: alert("加载地图时出现未知错误"); break; } } 2016-11-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...

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

67. 最新版本IDE,如何获取http返回的json数据 [ 49%]

...le.log ('按了登录按钮')  var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler);  var sendData = {account:"aaa",password:"bbb"} xhr...

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

68. 手机调试时http请求错误,返回Request failed Status:0 [ 48%]

...解决?下面是代码片段: let hr = new Laya.HttpRequest(); hr.http.timeout = 5000; hr.on(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Laya.Event.COMPLETE, this, (response)=>{ UIFactory.closeWaitBar(); this.onHttpRequestComplete(response); if(handleOk){ handleOk(response...

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

69. iOS平台,WiFi连网正常,4G下经常失败 [ 48%]

...)2018-01-11 10:18:57.950540+0800 CJPK_iOS[8382:4736773] download error: timeout, dt=8,opttimeout=1798 2018-01-11 10:18:57.950965+0800 CJPK_iOS[8382:4736773] Downloaded http://test.xxx.com/update/ass ... 66%40 s=0 l=0 2018-01-11 10:18:57.952856+0800 CJPK_iOS[8382:4736822] onerror UnknownError 2018-...

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

70. 音频解码一直遇到这个问题呢,不知道什么原因 [ 47%]

...D}, {url:"sound/right.mp3", type:Loader.SOUND}, {url:"sound/timeOut.mp3", type:Loader.SOUND}, {url:"sound/victory.mp3", type:Loader.SOUND}]; SoundManager.playMusic("sound/bgMusic.mp3"); 就这样,在4399h5平台上预览,就会遇到那种问题,不过...

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