Egret社区
再VIVO小游戏环境中通过egret.HttpRequest发起错误url地址,无法触发IOError事件,无论是GET还是POST。QQ小游戏真机开发者工具都能正常触发

白鹭引擎版本5.3.5

分享到 :
0 人收藏

10 个回复

倒序浏览
app小王子  社区管理员 | 2020-5-21 16:05:59
麻烦提供一个简单的复现demo
dousheng11  登堂入室 | 2020-5-22 11:56:07
app小王子 发表于 2020-5-21 16:05
麻烦提供一个简单的复现demo

                public static sendGetHttp(thisObject: any, url: string, param: any, completeHandler: Function, errorHandler: Function, loading: boolean = true,
                        useCapture?: boolean, priority?: number) {
                        let loader: egret.HttpRequest = new egret.HttpRequest();
                        loader.responseType = egret.HttpResponseType.TEXT;
                        if (completeHandler)
                                loader.addEventListener(egret.Event.COMPLETE, completeHandler, thisObject);
                        if (errorHandler)
                                loader.addEventListener(egret.IOErrorEvent.IO_ERROR, errorHandler, thisObject);
                        loader.open(url, egret.HttpMethod.GET);
                        loader.send(param);
errorHandler, loading, useCapture, priority)
                }
sendGetHttp(this, "错误的网页地址", null, this.vivoLoginComplete, this.vivoLoginError);

        private vivoLoginError(event: egret.IOErrorEvent): void {
        console.log("不触发")}
app小王子  社区管理员 | 2020-5-22 18:08:54
dousheng11 发表于 2020-5-22 11:56
public static sendGetHttp(thisObject: any, url: string, param: any, completeHandler: Function, e ...

直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo
dousheng11  登堂入室 | 4 天前
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

好吧我已经解决了 我重新建了个新的空项目 然后把之前老项目的代码部分粘到这个新项目里 然后就对了!
dousheng11  登堂入室 | 前天 15:09
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

但是还有一个问题 错误虽然能正确报出来的 但是我却没有办法捕获这错误
我使用的是RES.getResByUrl(“https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json“)
手机端的报错日志如下:
### App Framework ###  [info] ---execInvokeCallback--- callbackId=game.xmlhttprequest-7-onload
VM12 (no filename):8 加载失败:https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json
n.error.e @ VM12 (no filename):8
VM12 (no filename):8 Unhandled promise rejection 加载失败:https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json
n.error.e @ VM12 (no filename):8
dousheng11  登堂入室 | 前天 15:34
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

在QQ开着发者工具下则会触发4次IO错误并返回成功回调只是参数是空的
日志如下
IDEDebug.js:1 GET https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json 404 (Not Found)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
VM2145:202 request:fail
console.error @ VM2145:202
xhr.onerror @ text.js? [sm]:86
_triggerEvent @ weapp-adapter.js? [sm]:1199
fail @ weapp-adapter.js? [sm]:1334
callback @ QGame.js:30
e @ IDEDebug.js:1
v @ QGame.js:1
subscribeHandler @ QGame.js:1
b.onreadystatechange @ IDEDebug.js:1
XMLHttpRequest.send (async)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
IDEDebug.js:1 GET https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json 404 (Not Found)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
VM2145:202 request:fail
console.error @ VM2145:202
xhr.onerror @ text.js? [sm]:86
_triggerEvent @ weapp-adapter.js? [sm]:1199
fail @ weapp-adapter.js? [sm]:1334
callback @ QGame.js:30
e @ IDEDebug.js:1
v @ QGame.js:1
subscribeHandler @ QGame.js:1
b.onreadystatechange @ IDEDebug.js:1
XMLHttpRequest.send (async)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
IDEDebug.js:1 GET https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json 404 (Not Found)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
VM2145:202 request:fail
console.error @ VM2145:202
xhr.onerror @ text.js? [sm]:86
_triggerEvent @ weapp-adapter.js? [sm]:1199
fail @ weapp-adapter.js? [sm]:1334
callback @ QGame.js:30
e @ IDEDebug.js:1
v @ QGame.js:1
subscribeHandler @ QGame.js:1
b.onreadystatechange @ IDEDebug.js:1
XMLHttpRequest.send (async)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
IDEDebug.js:1 GET https://wxgame.cqzq6.com/cdn/wxg ... h_CN/language1.json 404 (Not Found)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
VM2145:202 request:fail
console.error @ VM2145:202
xhr.onerror @ text.js? [sm]:86
_triggerEvent @ weapp-adapter.js? [sm]:1199
fail @ weapp-adapter.js? [sm]:1334
callback @ QGame.js:30
e @ IDEDebug.js:1
v @ QGame.js:1
subscribeHandler @ QGame.js:1
b.onreadystatechange @ IDEDebug.js:1
XMLHttpRequest.send (async)
createRequestTask @ IDEDebug.js:1
window.QQJSCore.invokeHandler @ IDEDebug.js:1
m @ QGame.js:1
(anonymous) @ IDEDebug.js:1
send @ weapp-adapter.js? [sm]:1285
(anonymous) @ text.js? [sm]:90
loadText @ text.js? [sm]:71
(anonymous) @ text.js? [sm]:49
onLoadStart @ text.js? [sm]:21
r.loadResource @ assetsmanager.min.js? [sm]:1
load @ assetsmanager.min.js? [sm]:1
onLoadStart @ assetsmanager.min.js? [sm]:1
r.loadResource @ assetsmanager.min.js? [sm]:1
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
(anonymous) @ assetsmanager.min.js? [sm]:1
Promise.catch (async)
r.loadSingleResource @ assetsmanager.min.js? [sm]:1
r.loadNextResource @ assetsmanager.min.js? [sm]:1
r.pushResItem @ assetsmanager.min.js? [sm]:1
t.getResByUrl @ assetsmanager.min.js? [sm]:1
t.value @ assetsmanager.min.js? [sm]:1
d @ assetsmanager.min.js? [sm]:1
e.loadLangJson @ main.min.js:15
e.updata @ main.min.js:31
t.onUpdate @ main.min.js:30
i.update @ egret.min.js? [sm]:4
onTick @ egret.qqgame.js? [sm]:1501
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
requestAnimationFrame (async)
onTick @ egret.qqgame.js? [sm]:1500
gamePage.html?t=1590996732184:1 Uncaught (in promise) null
dousheng11  登堂入室 | 前天 15:39
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

使用RES.getResByUrl的时候引擎正常情况如果出现IO错误会自己重新再加载3-4次,然后返回成功的回调只是参数为null,使用RES.addEventListener(RES.ResourceEvent.ITEM_LOAD_ERROR事件也能成功捕获,但是在VIVO小游戏环境下 通过手机日志发现只重新加载了一次且并没有返回成功的回调,RES.ResourceEvent.ITEM_LOAD_ERROR事件也无法被触发
dousheng11  登堂入室 | 前天 15:46
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

上传了一份附件给你 必现
dousheng11  登堂入室 | 前天 15:48
app小王子 发表于 2020-5-22 18:08
直接给我一个能够运行的代码附件吧  我这边每天面对的开发者多 真没有时间去写demo ...

能加你个微信或者钉钉吗 这样沟通好累呀
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|京网文[2014]0791-191号|京ICP证150115号|Egret社区 ( 京ICP备14025619号 )

Powered by Discuz! X3.4 © 2001-2019 Comsenz Inc.

返回顶部