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

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

151. load方法加载cdn上面的图片资源的时候直接报了跨域不同源的问题,怎么破? [ 53%]

... by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://bookportal.com' is therefore not allowed access. 2018-02-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

152. npm install layacmd -g之错 [ 53%]

...npm/issues> npm ERR! Please include the following file with any support request: npm ERR! c:\Users\qykings\Documents\h5work\layaGame\trunk\npm-debug.log 2017-06-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...

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

153. HttpRequest有一定几率触发error事件 Status:0 [ 53%]

HttpRequest有一定几率触发error事件 Status:0 在微信开发者工具中,调用 request.send(url + method, data, "post", "json", ["Content-Type","application/json","Authorization", "Bearer " + PlayerModel.Instance.token]);   大部分时候正常  但有20%的几率会触发error事件...

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

154. 嵌套类型的protobuf报错 [ 52%]

...otobufConverter.__proto__.decode (gtea.js?tick=17185:1120)     at XMLHttpRequest.BaseUI.extend.getServerData.request.onreadystatechange (login.js:467)   2017-01-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 ...

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

155. Export Atlas Fail [ 52%]

... 这个问题很严重啊 求看下 unity导出的场景在手机上提示"request:fail invalid url" atlas目录下.json文件与.atlas的区别 ide 2.4.0 和 2.5.0 发布微信小游戏 开启版本管理后 读取atlas中图片时引擎仍然使用未加hash之前的文件名,导致微信打包...

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

156. ts项目加载version.json失败 [ 52%]

...: Failed to load file:///E:/LayaEmptyRelease/version.json: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. [warn]Retry to load: version.json 资源版本清单文件不存在,不使用资源版本管理。忽略ERR_FILE_NOT_FOUND错误...

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

157. layacmd 安装不成功 [ 52%]

... output above. npm ERR! Please include the following file with any support request: npm ERR npm ERR! code 1 2017-11-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Monica - 知识达人 赞同来自: 这是你...

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

158. 本地双击html如何打开laya项目? [ 52%]

...t client = null; try { client = server.accept(); // 创建分线程 // httpRequestHandler request = new httpRequestHandler(client); // // 启动线程 // new Thread(request).start(); if(client!=null){ Log. i(TAG, "已连接到服务器:" +client); //获取客户端的输入流 BufferedReader in = ...

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

159. Native 在iOS上支付失败的问题,及临时解决方法 [ 51%]

...,输出报错如下:Warning: This app is not entitled to use SKPayment requestData. requestData will not be sent. [IAP] Transaction error: 无法连接到 iTunes Store 10 [IAP] SKPaymentTransactionStateFailed经过调试发现IAPManager有如下代码 SKMutablePayment *payment = [SKMutablePaymen...

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

160. 打包app,http无法设置content-type [ 51%]

...e也变成了application/x-www-form-urlencoded   代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { cb(null, data); }); req.on(Event.ERROR, this...

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