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
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
C:\Roku\RokuSDK_v41\examples\source\helloworld>zip -9 -r ../helloworld.zip .
No Development Application Installed.
[ ] [browse][install]
Application Received: 33513 bytes stored.
Install Failure: No manifest. Invalid package.
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
"SCTR" wrote:
Which BTW, says nothing about requiring these in the manifest nor what sizes they need to be! *sigh*
"SCTR" wrote:
But I have a manifest! WTF?
"SCTR" wrote:
It would be great if the plugin would do this step for me -- is that planned in the near future?
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:
Not a great start Roku 😞
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.
The Roku video tutorials are here: 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
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:
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!
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.