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

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

131. socket.sent [ 49%]

... this.socket.endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socke...

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

132. 如何与服务端建立连接 [ 49%]

... = new Laya.Socket(); socket.on(Laya.Event.OPEN,this,()=>{ console.log("connect success!"); }) socket.connectByUrl(url);点此查看Socket官方示例 2018-05-15 1 0 分享 微博 QZONE 微信 rabbit 赞同来自: 只要前端的,还是要前端和后端代码? 2018-05-15 0 1 分享 微博 QZ...

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

133. 服务器websocket c++发送二进制类型包,客户端没有任何事件响应 [ 49%]

...任何响应,error也没   客户端: socket = new Socket(); //socket.connect("echo.websocket.org", 80); //socket.connectByUrl("ws://echo.websocket.org:80"); socket.connectByUrl('ws://127.0.0.1:88');// //output.endian = Byte.LITTLE_ENDIAN;//这里我们采用小端; output = socket.output; //...

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

134. request failed status:0 [ 48%]

...AND_RETRY_LAST Allocation failed - JavaScript heap out of memory WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header 第一次用,Failed to load resource: net::ERR_FILE_NOT_FOUND调试出现这个结果 求助大佬们!oppo游戏中3d资源贴图出现Failed to load 请...

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

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

...)=>{ UIFactory.showWaitBar(LayaWrap.creatHandlerCall(this,()=>{ this.connect(handleOk,handleFail); })) }), LocalTxt.getText("请求失败")+":"+e); } }); LogUtil.info(this.urlString,this.methodString,this.responseType,this.dataAny); hr.send(this.urlString, this.dataAny, this.methodString, this...

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

136. 构建andorid工程后,在AndoridStuido中模拟器调试运行出现如下问题,然后打不开APP [ 48%]

...y3Android/demo.MainActivity } Waiting for process: com.mygame.Shjy3Android Connected to the target VM, address: 'localhost:8604', transport: 'socket' Disconnected from the target VM, address: 'localhost:8604', transport: 'socket' 2017-02-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

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

137. 关于TS环境下的第三方库导入的疑问 [ 47%]

...在index.html 中使用js库 不希望你在代码中如下情况 import { Connection } from "autobahn"; 如果你只是想要提示的话,其实很简单   直接拷贝 node_modules\@types\autobahn\index.d.ts 这个文件到 工程的libs 目录中 也就是把上边的  /// <reference types=...

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

138. 构建apk后,java报错 [ 47%]

...7-21885/? E/PlayCommon: [158] com.google.android.play.b.x.a(20): Failed to connect to server for server timestamp: java.net.SocketTimeoutException: failed to connect to play.googleapis.com/172.217.24.202 (port 443) from /192.168.3.112 (port 59536) after 40000ms: isConnected failed: ETIMEDOUT (Connec...

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

139. dcc下载超时 [ 46%]

...): Use EGL_SWAP_BEHAVIOR_PRESERVED: true 07-04 20:55:27.095: D/(7884): HostConnection::get() New Host Connection established 0xad5e3cd0, tid 7884 07-04 20:55:27.111: D/(7884): >>>>>>>>>>>>>>>>>>>>>>>> 07-04 20:55:27.117: E/LayaG...

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

140. 使用layaide构建的安卓项目打包apk,安装在某些设备上会闪退 [ 45%]

...The network has changed 04-18 17:26:51.251 1371-1371/com.etvtech.pvsz I/0: connected type=5 04-18 17:26:51.251 1371-1384/com.etvtech.pvsz E/AndroidRuntime: FATAL EXCEPTION: GLThread 72     Process: com.etvtech.pvsz, PID: 1371     java.lang.RuntimeException: createContext failed: EGL_BAD_ATTRIB...

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