Search code examples
web-applicationsmanifestfirefox-os

Unable to read manifest error in firefox os simulator


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


Solution

  • 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)