使用的是: implementation 'cn.leancloud:storage-android:6.5.11'这个版本的sdk,初始化:
AVOSCloud.initialize(this, appId, appkey, "http://lc-tfkdhcw7.cn-n1.lcfile.com");
以下是日志:
Response: 404
Server: Tengine
Content-Type: text/html
Connection: keep-alive
Date: Wed, 02 Sep 2020 02:03:57 GMT
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: X-Log, X-Reqid
Access-Control-Max-Age: 2592000
Cache-Control: public, max-age=31536000
Content-Disposition: inline; filename="errno-404"; filename*=utf-8''errno-404
Content-Transfer-Encoding: binary
Etag: "FqFGrqAsbBWGcvmX7AMqry36Hq80.gz"
Last-Modified: Tue, 12 Nov 2013 08:31:25 GMT
Vary: Accept-Encoding
X-Log: X-Log
X-M-Log: QNM:xs1184;SRCPROXY:xs1752;SRC:76/404;SRCPROXY:77/404;QNM3:79/404
X-M-Reqid: DhcAAAq-ynMo1TAW
X-Qnm-Cache: RawProxy
X-Reqid: XWMAAACEuXMo1TAW
X-Svr: IO
Ali-Swift-Global-Savetime: 1599012237
Via: cache7.l2cn1812[104,404-1280,M], cache7.l2cn1812[105,0], cache11.cn626[154,404-1280,M], cache11.cn626[157,0]
X-Swift-Error: orig response 4XX error
X-Cache: MISS TCP_MISS dirn:-2:-2
X-Swift-SaveTime: Wed, 02 Sep 2020 02:03:57 GMT
X-Swift-CacheTime: 31536000
X-Swift-Error: orig response 4XX error
Timing-Allow-Origin: *
EagleId: 790c6d1f15990122373747338e
<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<script type="text/javascript" src="http://www.qq.com/404/search_children.js" charset="utf-8"></script>
</body>
</html>