# Install Failure: No manifest. Invalid package.

**URL:** <https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322>\
**Category:** Archived\
**Tags:** roku-developer-program\
**Created:** [March 27, 2012, 2:16am UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322 "2012-03-27T02:16:38Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![SCTR](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SCTR](https://forum.developer.roku.com/u/SCTR)\
**Post date:** [March 27, 2012, 2:16am UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/1 "2012-03-27T02:16:38Z")

</div>

Just got our Roku 2 XS today and I’m trying to do the most simple “Hello World” app as found in **DeveloperGuide\_v41.pdf** _section 7.4_.

Which BTW, says nothing about requiring these in the manifest nor what sizes they need to be! _sigh_

```auto

mm_icon_focus_hd=pkg:/images/mm_icon_focus_hd.png
mm_icon_side_hd=pkg:/images/mm_icon_side_hd.png
mm_icon_focus_sd=pkg:/images/mm_icon_focus_sd.png
mm_icon_side_sd=pkg:/images/mm_icon_side_sd.png

```

Thankfully someone posted the sizes [here](http://forums.roku.com/viewtopic.php?f=34&t=25476&p=156265&hilit=icon_focus_hd.png#p156265).

Anyways, I’m using Eclipse Indigo and the Brightscript plugin. I have my project

```auto

C:\Roku\RokuSDK_v41\examples\source\helloworld>ls -lRa
total 3
drwxrwxrwx 1 user group 0 Mar 26 17:25 .
drwxrwxrwx 1 user group 0 Mar 26 18:51 ..
-rw-rw-rw- 1 user group 199 Mar 26 17:25 .buildpath
-rw-rw-rw- 1 user group 559 Mar 26 17:25 .project
drwxrwxrwx 1 user group 0 Mar 26 18:28 images
-rw-rw-rw- 1 user group 326 Mar 26 18:28 manifest
drwxrwxrwx 1 user group 0 Mar 26 17:25 out
drwxrwxrwx 1 user group 0 Mar 26 17:14 source

images:
total 32
drwxrwxrwx 1 user group 0 Mar 26 18:28 .
drwxrwxrwx 1 user group 0 Mar 26 17:25 ..
-rw-rw-rw- 1 user group 14074 Mar 26 18:21 mm_icon_focus_hd.png
-rw-rw-rw- 1 user group 9902 Mar 26 18:24 mm_icon_focus_sd.png
-rw-rw-rw- 1 user group 4125 Mar 26 18:26 mm_icon_side_hd.png
-rw-rw-rw- 1 user group 2721 Mar 26 18:25 mm_icon_side_sd.png

out:
total 0
drwxrwxrwx 1 user group 0 Mar 26 17:25 .
drwxrwxrwx 1 user group 0 Mar 26 17:25 ..

source:
total 1
drwxrwxrwx 1 user group 0 Mar 26 17:14 .
drwxrwxrwx 1 user group 0 Mar 26 17:25 ..
-rw-rw-rw- 1 user group 414 Mar 26 18:34 helloworld.brs

```

I manually make the .zip file package:

```auto
C:\Roku\RokuSDK_v41\examples\source\helloworld>zip -9 -r ../helloworld.zip .

```

(It would be great if the plugin would do this step for me – is that planned in the near future?)

When I go to the install page, it STB and says this:

```auto

No Development Application Installed.
[] [browse][install]

Application Received: 33513 bytes stored.
Install Failure: No manifest. Invalid package. 

```

But I have a manifest! WTF?

```auto

C:\Roku\RokuSDK_v41\examples\source\helloworld>cat manifest

title=Hello World
subtitle=example 'hello world'
major_version=1
minor_version=0
build_version=00000
mm_icon_focus_hd=pkg:/images/mm_icon_focus_hd.png
mm_icon_side_hd=pkg:/images/mm_icon_side_hd.png
mm_icon_focus_sd=pkg:/images/mm_icon_focus_sd.png
mm_icon_side_sd=pkg:/images/mm_icon_side_sd.png

```

---

<div class="post-metadata">

**Author:** ![destruk](https://avatars.discourse-cdn.com/v4/letter/d/d07c76/32.png) [@destruk](https://forum.developer.roku.com/u/destruk)\
**Post date:** [March 27, 2012, 2:25am UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/2 "2012-03-27T02:25:38Z")

</div>

The manifest belongs in the root directory of your zipped app. You have it in the source directory, which is why it doesn’t find it.  
As for doing it for you or automation, you can use a makefile and other procedures to do it in a one shot routine -  
[viewtopic.php?f=34&t=39350](http://forums.roku.com/viewtopic.php?f=34&t=39350)

---

<div class="post-metadata">

**Author:** ![TheEndless](https://avatars.discourse-cdn.com/v4/letter/t/ec9cab/32.png) [@TheEndless](https://forum.developer.roku.com/u/TheEndless)\
**Post date:** [March 27, 2012, 3:21am UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/3 "2012-03-27T03:21:57Z")

</div>

> “SCTR” wrote:  
> Which BTW, says nothing about requiring these in the manifest nor what sizes they need to be! _sigh_  
> Required sizes are in the **artwork-guidelines-v3.pdf** document.

> “SCTR” wrote:  
> But I have a manifest! WTF?  
> You directory structure looks right. What do the contents of the zip look like? As destruk mentioned, the manifest has to be in the root of the zip, so I’d double-check that first.

---

<div class="post-metadata">

**Author:** ![malloys](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@malloys](https://forum.developer.roku.com/u/malloys)\
**Post date:** [March 27, 2012, 5:15pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/4 "2012-03-27T17:15:53Z")

</div>

> “SCTR” wrote:
> 
> It would be great if the plugin would do this step for me – is that planned in the near future?

The plugin already has this feature.

File\>Export-\>BrightScript-\>BrightScript Deployment

This will bring up the BrightScript Deployment Wizard which:

a) Auto-selects the source directory and it’s contents, any image files it can find in the project, and the manifest.  
b) Allows you to manually select any additional files in your project that need to be included  
c) Zips it all up to a local file location you specify  
d) Optionally uploads the zip file to a Roku box you specify via a dropdown auto-populated with discovered Roku boxes  
e) Optionally generates a pkg file (for channel submission) based on the zip file.  
f) Optionally generates new developer keys (and displays the current dev id).

The plugin (not the deployment wizard) will also let you know if your manifest has missing required values via the Problems tab.

Cheers

---

<div class="post-metadata">

**Author:** ![SCTR](https://avatars.discourse-cdn.com/v4/letter/s/71e660/32.png) [@SCTR](https://forum.developer.roku.com/u/SCTR)\
**Post date:** [March 27, 2012, 8:45pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/5 "2012-03-27T20:45:30Z")

</div>

THANKS GUYS!

Turns out my .zip file was nested one level deep, so it was like “helloworld.zip” which had a folder named “helloworld” in it and everything was within that. :oops:

The Eclipse plugin is even better than I expected! That’s so rad that it will even upload it to the Roku. OMG. What a time-saver that will be. 😄

---

<div class="post-metadata">

**Author:** ![Remington99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Remington99](https://forum.developer.roku.com/u/Remington99)\
**Post date:** [October 12, 2020, 6:33pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/6 "2020-10-12T18:33:16Z")

</div>

So I am brand new (20 minute old) to Roku development and am watching the tutorial videos. Video #2 shows how to create a developer account and then, using the resources provided on the video page, shows you how to download and install the Hello World program.

In any programming language, the Hello World program is the simplest of all programs guaranteed not to fail.

Except it did fail with the manifest error. There are fully three things wrong with the Hello World program that Roku tells you to install from Gitbug:

1. The zip file has one too many levels
2. The manifest file is contained in the /source directory which apparently Roku doesn’t like
3. Even when you move the manifest file to the root directory of the zip file, the references in the manifest are wrong. You need to change all references to /image/??? to /source/image/???

Not a great start Roku 😞

---

<div class="post-metadata">

**Author:** ![renojim](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@renojim](https://forum.developer.roku.com/u/renojim)\
**Post date:** [October 12, 2020, 8:38pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/7 "2020-10-12T20:38:27Z")

</div>

Do you have a link to this zip file? Is there a source/source directory? It sounds like the zip isn’t meant to be uploaded to a Roku directly.

---

<div class="post-metadata">

**Author:** ![Remington99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Remington99](https://forum.developer.roku.com/u/Remington99)\
**Post date:** [October 13, 2020, 2:18am UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/8 "2020-10-13T02:18:07Z")

</div>

The Roku video tutorials are here: [https://developer.roku.com/en-ca/videos/courses/rsg/development-setup.md#resources](https://developer.roku.com/en-ca/videos/courses/rsg/development-setup.md#resources)

They instruct the new developer to download “hello world” from github here: [https://github.com/rokudev/hello-world](https://github.com/rokudev/hello-world)

I discovered another problem with the hello world program the tutorial says to install. In debug, I noticed that the hello-world program was failing to launch (although at least the channel poster was displaying). Based on the error message I discovered there is a directory called source which contains three sub-directories; components, images, and source. As I have discovered, these three subdirectories should be at the root directory level.

So after making the corrections I already noted, I moved these directories, re-created the zip file and voila I have a working hello world program.

I have several guesses:

1. The hello-world program on github got modified and Roku didn’t notice it
2. Newer versions of the Roku OS no longer want these three subdirectories to be located below source and they failed to update the tutorial
3. I am the first developer in history to actually try the hello world program

---

<div class="post-metadata">

**Author:** ![necrotek](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@necrotek](https://forum.developer.roku.com/u/necrotek)\
**Post date:** [October 14, 2020, 4:44pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/9 "2020-10-14T16:44:14Z")

</div>

That zip file appears to be a project file. You would not side load this zip. When you have the project set up in you IDE of choice, it would then zip what is in the first source directory. That would then be run sideloaded. There is a pre zipped file in dist/apps directory that you could also sideload. Welcome to Roku!

---

<div class="post-metadata">

**Author:** ![Remington99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Remington99](https://forum.developer.roku.com/u/Remington99)\
**Post date:** [October 14, 2020, 6:37pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/10 "2020-10-14T18:37:27Z")

</div>

I don’t disagree, but now that I have a few days experience I know enough to say that.

The challenge is that this series of 12 video lessons for new developers is explicit about the steps to take. Long before they tell you about Eclipse plugins etc, they direct you to this zip file and step-by-step tell you how to sideload this zip file (without modification) to the Roku device.

As I know understand with the benefit of a few hours of learning, that doesn’t work. So they need to update their tutorials.

---

<div class="post-metadata">

**Author:** ![necrotek](https://avatars.discourse-cdn.com/v4/letter/n/cc9497/32.png) [@necrotek](https://forum.developer.roku.com/u/necrotek)\
**Post date:** [October 14, 2020, 7:09pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/11 "2020-10-14T19:09:23Z")

</div>

I just watched the video and agree that it is not clear from the video which file is to be sideloaded. The zip that is side loaded in the video is not located in that directory in the downloaded sample and appears to have just been created (also has a different size than the zip in the helo-world-master.zip.) That should be made clearer… welcome to the world of Roku development…

---

<div class="post-metadata">

**Author:** ![Remington99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Remington99](https://forum.developer.roku.com/u/Remington99)\
**Post date:** [October 14, 2020, 7:57pm UTC](https://forum.developer.roku.com/t/install-failure-no-manifest-invalid-package/1322/12 "2020-10-14T19:57:53Z")

</div>

😃 I look forward to trying an app
