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

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

1. WebSocket connection to 'ws://192.168.0.8:8102/' failed: Invalid frame header [ 100%]

...自: 搜索到一些资料,说是字节长度问题。 How long are the message you are trying to send If it's larger than 125 bytes you need to encode the length in a different manner i.e you must take the extended payload length into consideration. – Cyclonecode Jul 7 '15 at 10:22 Right, o...

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

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

...分时候正常  但有20%的几率会触发error事件回调,收到的message为"failed Status:0 text:"   只在本次运行的第一次调用会出现,如果第一次没有触发error则后面的所有send也不会触发error 而第一次触发error则后面的所有send都会触发error 201...

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

3. socket大型项目回调 [ 95%]

...ks:any = {}; private reqId:number = 0; private _package:IPackage; private _message:IMessage; constructor(){ if(!console.group){ console.group = console.log; console.groupEnd = function(){console.log("----")}; console.info = console.log; console.warn = console.log; console.error = console.log; } this...

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

4. 关于截屏的问题 [ 94%]

...4 06-09 11:48:56.974 1654-1654/? D/StatusBar.MSimNetworkController: Send a message to refresh views 1s later! 06-09 11:48:56.974 1654-1654/? D/StatusBar.MSimNetworkController: refreshdata connected={ wifi } level=0 mMSimcombinedSignalIconId=0x7f0203c5/com.android.systemui:drawable/stat_sys_wifi_sign...

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

5. socket报错,on: reserved1 = 1, reserved2 = 1, reserved3 = 0 [ 77%]

...端; this.socket.on(Event.OPEN,this,openHandler); this.socket.on(Event.MESSAGE,this,receiveHandler); this.socket.on(Event.CLOSE,this,closeHandler); this.socket.on(Event.ERROR,this,errorHandler); } public function connect():void { if(!this.socket.connected){ this.socket.connectByUrl("ws://127.0.0.1...

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

6. socket通讯返回数据 [ 77%]

...ket.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.socket.on(Laya.Event.ERROR, this, this.errorHandler); // this.socket.send("hello world");//#################################...

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

7. 微信小游戏中不能加载proto文件 [ 76%]

...("____________________________________") if (err) throw err;  // Obtain a message type var AwesomeMessage = root.lookup("msg.LoginReq");  // Create a new message var message = AwesomeMessage.create( { openid: "AwesomeString" });  console.log(message.openid) // Verify the message if necessary (i.e...

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

8. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 65%]

...1/release/harmony/LayaProject1/libSysCapabilities/src/main/ets/event/HandleMessageUtils.ts:2:18 Currently module for 'liblaya.so' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis ...

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

9. lib/arm/liblayaair.so 总是崩溃 [ 56%]

... EF65E000 00000000 00009000 092172CB47DB110779AE44EE2291CA620 libkeymaster_messages.so     M EF669000 00000000 0000F000 AF1D1F5AF3F6DDFB33AFAAE3CFD8FDE80 libsoftkeymasterdevice.so     M EF67A000 00000000 0000B000 6CE898C13390018F0151D8FC6901B9BD0 libkeystore_binder.so     M EF688000 00000000 0...

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

10. 构建apk后,java报错 [ 48%]

...handleCallback(Handler.java:790)         at android.os.Handler.dispatchMessage(Handler.java:99)         at android.os.Looper.loop(Looper.java:164)         at android.os.HandlerThread.run(HandlerThread.java:65)         at com.android.server.ServiceThread.run(ServiceThread.java:46) 201...

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