Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Re: Install Failure: Application exceeded maximum size Error
Five megabytes is much too large. That's probably not brightscript code -- do you have a lot of jpgs or other large files in your app? Generally it's best to have the code download such files from a server rather than embedding them in the app package.
Re: Install Failure: Application exceeded maximum size Error
2MB is the maximum size of an app. In general, your app should be much smaller than this. The typical size for a large, fully functional app like MLB or Amazon is about 200KB in the pkg format. Some simple apps are as small as 25 KB.
This is achieved by limiting the number of large images included in the app. Include only the images that need to be loaded immediately and reference all the other images on the internet.