Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JordanPlayz158
Reel Rookie

Roku App Development Help.

I am trying to install my Roku App and its giving me a compilation error yet eclipse (with roku plugin installed) and notepad++ (with brightscript xml file for syntax) have no errors with my code (or in notepad++'s case bad syntax) but yet I get bad syntax. It would be much appreicated if you guys could check my code to see whats wrong and btw I followed the roku guide and I could've messed up because I didn't copy and paste it I typed it in so I will remeber the syntax later on and here are the files for the project: https://anonfile.com/gbI6eciaba/Experimenting_with_Roku_zip
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: Roku App Development Help.

The error message that appears in the console says it all:
------ Compiling dev 'Experimenting with Roku' ------
*** ERROR compiling /pkg:/source/FeedParser.brs:
SUB or FUNCTION defined twice. (compile error &had) in pkg:/source/FeedParser.brs(88) 'loadContent'

You have two functions with the same name (loadContent).  You can't do that.

Once you get past that error there will be plenty more.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
JordanPlayz158
Reel Rookie

Re: Roku App Development Help.

Thank you so much renojim! Thanks for the help
0 Kudos