cocos creator 3.4.2,安卓端请求下载远程zip文件出错
this.req = new XMLHttpRequest;
this.req.open("get", this.zipUrl, true);
this.req.responseType = "blob"
this.req.onreadystatechange = () => {
if (this.req.readyState === 4 && this.req.status === 200 || this.req.status === 304) {
}
};
this.req.send();
错误提示:
jsb: ERROR: File F:/soft/CocosDashboard/resources/.editors/Creator/3.4.2/resources/resources/3d/engine-native/cocos/bindings/manual/jsb_xmlhttprequest.cpp: Line: 869, Function: XMLHttpRequest_getResponse
2022-04-19 18:04:54.418 11228-11255/com.cocos.android E/jswrapper: Invalid response type