欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

html5游戏打包apk,laya打包APK无法进入游戏

发布时间:2023/12/9 编程问答 60 豆豆
生活随笔 收集整理的这篇文章主要介绍了 html5游戏打包apk,laya打包APK无法进入游戏 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

打包环境:1.7.14beta

发布h5后,将h5项目发布成apk,进入游戏后报错

加载游戏失败,可能由于您的网络不稳定,请退出重进

报错信息如下:

03-07 15:59:40.935: W/LayaBox(24066): download error: timeout, dt=8,opttimeout=179803-07 15:59:40.935: W/LayaBox(24066): download error: timeout, dt=8,opttimeout=1798

03-07 15:59:40.935: I/LayaBox(24066): Downloaded http://stand.alone.version/src/view/pop/popAdv.js@ s=0 l=0

03-07 15:59:40.935: I/LayaBox(24066): Downloaded http://stand.alone.version/src ... js%40 s=0 l=0

03-07 15:59:40.935: E/LayaBox(24066): JCFileRes::onDownloadError file error[28]:http://stand.alone.version/src/view/pop/popAdv.js

03-07 15:59:40.935: E/LayaBox(24066): JCFileRes::onDownloadError file error[28]:http://stand.alone.version/src ... ll.js

03-07 15:59:40.935: I/LayaBox(24066): Download [  ]:http://stand.alone.version/src ... ge.js

03-07 15:59:40.937: I/LayaBox(24066): Download [  ]:http://stand.alone.version/src ... ct.js

03-07 15:59:40.943: I/LayaBox(24066):  onLayaInitError error=Load script error

03-07 15:59:40.945: I/LayaBox(24066): alert=加载游戏失败,可能由于您的网络不稳定,请退出重进

03-07 15:59:40.947: I/LayaBox(24066):  onLayaInitError error=Load script error

03-07 15:59:40.949: I/LayaBox(24066): alert=加载游戏失败,可能由于您的网络不稳定,请退出重进

03-07 15:59:40.949: I/LayaBox(24066):  >>>>>>>>>>>>>>>evalhttp://stand.alone.version/src ... ll.js

03-07 15:59:40.949: I/LayaBox(24066):  >>>>>>>>>>>>>>>>>eval take time:0

03-07 15:59:40.950: I/LayaBox(24066):  >>>>>>>>>>>>>>>evalhttp://stand.alone.version/src/view/pop/popAdv.js

03-07 15:59:40.950: I/LayaBox(24066):  >>>>>>>>>>>>>>>>>eval take time:0

总结

以上是生活随笔为你收集整理的html5游戏打包apk,laya打包APK无法进入游戏的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。