cocos creator 原生版本热更plist文件失败?

原生版本热更plist文件失败, 提示找不到,但是到指定目录下确实存在,其他文件都可以正常更新。这是什么原因?

日志如下:
10-23 10:04:11.797 6043-6071/com.testA.testApp D/jswrapper: JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (797):onUpgradeHandler EventCode ==>5
10-23 10:04:11.798 6043-6071/com.testA.testApp D/jswrapper: JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (798):GameItem onState 0
JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (798):onProgress 0.045538678765296936
10-23 10:04:11.799 6043-6071/com.testA.testApp D/jswrapper: JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (799):onUpgradeHandler EventCode ==>6
10-23 10:04:11.800 6043-6071/com.testA.testApp D/cocos2d-x: find in flash memory dirPath(/data/user/0/com.testA.testApp/files/hotfix_asset_temp/subpackages/testGm/raw-assets/0a)
10-23 10:04:11.788 6043-6043/com.testA.testApp W/com.testA.testApp: type=1400 audit(0.0:95494): avc: denied { read } for comm=474C546872656164203131393936 name="/" dev=“rootfs” ino=1 scontext=u:r:untrusted_app:s0:c175,c259,c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
10-23 10:04:11.868 6043-6043/com.testA.testApp D/Cocos2dxDownloader: onFailure(i:404 headers:[Lcz.msebera.android.httpclient.Header;@7ea0a48 throwable:cz.msebera.android.httpclient.client.HttpResponseException: Not Found file:/data/user/0/com.testA.testApp/files/hotfix_asset_temp/subpackages/testGm/raw-assets/18/18a37baa-1320-483e-9b01-57c45a7c1bb7.plist.tmp
10-23 10:04:11.887 6043-6071/com.testA.testApp D/jswrapper: JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (887):onUpgradeHandler EventCode ==>7
JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (887):GameItem onState 2
JS: testApp: [Wed Oct 23 2019 10:04:11 GMT+0800 (CST)] (887):UpgradeState.Failed===>End
10-23 10:04:11.901 6043-6071/com.testA.testApp D/jswrapper: JS: no cancel button
10-23 10:04:11.938 6043-6071/com.testA.testApp D/cocos2d-x: find in flash memory dirPath(/data/user/0/com.testA.testApp/files/hotfix_asset_temp/subpackages/testGm/raw-assets/e5)
10-23 10:04:12.041 6043-6043/com.testA.testApp D/Cocos2dxDownloader: onSuccess(i:200 headers:[Lcz.msebera.android.httpclient.Header;@97880e1 file:/data/user/0/com.testA.testApp/files/hotfix_asset_temp/subpackages/testGm/raw-assets/0a/0af173d0-535a-4c96-9b81-f2bb68f76b9c.png.tmp
10-23 10:04:12.079 6043-6071/com.testA.testApp D/jswrapper: JS: testApp: [Wed Oct 23 2019 10:04:12 GMT+0800 (CST)] (79):updateManager.Verification relativePath==>subpackages/testGm/raw-assets/0a/0af173d0-535a-4c96-9b81-f2bb68f76b9c.png
JS: testApp: [Wed Oct 23 2019 10:04:12 GMT+0800 (CST)] (79):updateManager.Verification

cocos creator 版本是2.1.3

404 是远程文件没找到的,肯定是更新服务少了文件的。

可是我在远程服务器确实看到了这些文件,是所有的plist文件都更新失败,不是某个失败

你远程没有准许.plist的资源吧

2赞

非常感谢,才知道还有这个限制