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

大约有 203 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0074 秒)

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

...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

192. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 24%]

...的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: err }; if (pos) augmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解决 tslib 找不到的问题,并且编译后输出的...

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

193. 构建apk后,java报错 [ 23%]

...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

194. 项目设置面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 23%]

... let err = new Error("自定义的Error"); Laya.Browser.window.onerror(err.message, "", "", "", err); 运行时,就会弹窗抛出异常,效果如图1-12所示。 (图1-12) 二、引擎库模块 LayaAir引擎有多个模块组件,在IDE中默认只引入了较为基础的模块,如图2-1...

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

195. 打包安卓Android studio黑屏 [ 19%]

...on device huawei-mha_al00-3HX0217401012320 Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/om.layabox.tes: Reinit property: dalvik.vm.checkjni= false D/ZrHung.AppEyeUiProbe: AppEyeUIP created. ...

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

196. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 18%]

...a.supported() === false) { alert("当前浏览器不支持"); } else { showMessage(); var options = { audio: true, video: { facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height: Laya.stage.height } }; Laya.Media.getMedia(o...

来源: Laya2.0_文档 发布时间: 20210714

197. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 17%]

...ayabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-enabling CheckJNI W/ActivityThread: Application com.layabox.game is waiting for the deb...

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

198. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 17%]

...upported() === false){ alert("当前浏览器不支持"); } else{ this.showMessage(); var options:any = { audio:true, video:{ facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height:Laya.stage.height } }; Laya.Media.getMedia(...

来源: Laya2.0_文档 发布时间: 20210715

199. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 15%]

...Media.supported() === false) alert("当前浏览器不支持"); else { showMessage(); var options:Object = { audio: true, video: { facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height:Laya.stage.height } }; Media.getMedia(...

来源: Laya2.0_文档 发布时间: 20210715

200. 和原生Dom交互 · LayaAir3.3 · 引擎文档 · LAYABOX [ 15%]

...upported() === false){ alert("当前浏览器不支持"); } else{ this.showMessage(); var options:any = { audio:true, video:{ facingMode: { exact: "environment" }, // 后置摄像头,默认值就是,不设至也可以。 width: Laya.stage.width, height:Laya.stage.height } }; Laya.Media.getMedia(...

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