系统:windows
编译环境:vs2013
类型:手游
输出:
…
JS: Start to update 1 files from remote package.
线程 0x172c 已退出,返回值为 0 (0x0)。
线程 0x2678 已退出,返回值为 0 (0x0)。
线程 0x2558 已退出,返回值为 0 (0x0)。
JS: Asset update error: app.zip, Unable to download file
cocos2d: fullPathForFilename: No file found at src/app.js. Possible missing file.
JS: D:/fans/trunk/dev/fans_host/script/jsb_boot.js:428:Error: can’t open src/app.js: No such file or directory
…
服务器配置文件project.manifest:
{
“packageUrl” : “http://localhost/fans/res”,
“remoteManifestUrl” : “http://localhost/fans/res/project.manifest”,
“remoteVersionUrl” : “http://localhost/fans/res/version.manifest”,
“version” : “1.0.1”,
“groupVersions” : {
“1” : “1.0.1”
},
“engineVersion” : “3.0 rc0”,
“assets” : {
“app.zip” : {
“md5” : “f6bf54e5a0d42c963cc5ae92bf9dc7c6”,
“compressed” : true,
“group” : “1”
}
},
“searchPaths” :
]
}
服务器配置文件version
.manifest:
{
“packageUrl” : “http://localhost/fans/res”,
“remoteManifestUrl” : “http://localhost/fans/res/project.manifest”,
“remoteVersionUrl” : “http://localhost/fans/res/version.manifest”,
“version” : “1.0.1”,
“groupVersions” : {
“1” : “1.0.1”
},
“engineVersion” : “3.0 rc0”
}
说明:
每次运行时,当没有要更新的assets文件时,project.manifest和version.manifest都能正确地下载下来,当有要更新的assets文件时,version.manifes可以下载下来,project.manifest则更新成project.manifest.temp(文件名多了条尾巴,但文件内容完整),而且资源文件也完全下不下来,只有一个app.zip.temp,大小为0.