Question

I have a directory hello containing 1.jpg hello.webapp index.html

index.html is as follows:

<html>
<head>
<title>Hello World!</title>
</head>
<body>
Hello World!
</body>
</html>

hello.webapp is as follow:

{
"name": "Hello World",
"description": "blah",
"launch_path": "/index.html",
"icons": {
"128":"1.png"
},
"developer": {
"name": "Richard Sueselbeck"
},
"default_locale": "en"
}

but when i add directory to the simulator. It throws an error, unable to read manifest /home/user/Desktop/hello/hello.webapp

Was it helpful?

Solution 2

Have you tried to change in your manifest "1.png" to "1.jpg" ?

Have you tried to rename hello.webapp to manifest.webapp ? (Good Solution)

OTHER TIPS

Name of the manifest file should be manifest.webapp and it should be in the root folder of your project.

Just for clarification the simulator can't read hello.webapp because the default file for manifest in Firefox OS should be manifest.webapp.

Please put code below into new file called manifest.webapp in your root directory :

{
"name": "Hello World",
"description": "blah",
"launch_path": "/index.html",
"icons": {
"128":"1.png"
},
"developer": {
"name": "Richard Sueselbeck"
},
"default_locale": "en"
}

Thanks,

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top