android 网络时区 错误,React native 安卓机器上调试代码报错:网络请求出错TypeError: Network request failed...

React native 安卓机器上调试代码报错:网络请求出错TypeError: Network request failed

安卓机器 usb连接调试

报错信息

TypeError: Network request failed

at XMLHttpRequest.xhr.onerror (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:24506:8)

at XMLHttpRequest.dispatchEvent (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:9996:15)

at XMLHttpRequest.setReadyState (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:26065:6)

at XMLHttpRequest.__didCompleteResponse (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:25913:6)

at http://localhost:8081/index.delta?platform=android&dev=true&minify=false:26007:52

at RCTDeviceEventEmitter.emit (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:9229:23)

at MessageQueue.__callFunction (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:7209:34)

at http://localhost:8081/index.delta?platform=android&dev=true&minify=false:7100:8

at guard (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:7046:1)

at MessageQueue.callFunctionReturnFlushedQueue (http://localhost:8081/index.delta?platform=android&dev=true&minify=false:7099:1)

哪位大神可以帮忙解决一下,做过加请求头,是连接usb连接调试

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值