Grails 서버를 통해 zip 응용 프로그램을 제공하여 Firefox OS 장치에서 응용 프로그램을 테스트하려고합니다.Firefox OS : MANIFEST_PARSE_ERROR
response.setContentType("application/x-web-app-manifest+json")
File file = new File("/path/to/application/package.zip")
response.setHeader("Content-disposition", "attachment;filename=${file.name}")
response.outputStream << file.bytes
내가 데스크톱 브라우저에 잘 압축을 다운로드 할 수 있습니다, 그것은뿐만 아니라 장치에 확인을 다운로드하는 것 같습니다 :이 파일은과 같이 제공됩니다. 여기
MANIFEST_PARSE_ERROR
매니페스트를 살펴입니다 : 다음 오류가 다운로드 후 발생 당신은 명시
{
"version": "0.1",
"name": "App Name",
"description": "App Description",
"launch_path": "/target/index.html",
"icons": {
"16": "/img/icons/mortar-16.png",
"48": "/img/icons/mortar-48.png",
"128": "/img/icons/mortar-128.png"
},
"developer": {
"name": "Example Dev",
"url": "http://example.com"
},
"installs_allowed_from": ["*"],
"default_locale": "en",
"permissions": {
}
}
최고를, 감사합니다. 그것으로 해결되었습니다. – kz3