SOLVED: StaticAnalysis Error:: "end of playlist" status message of roAudioPlayerEvent is deprecated.
- 2 years ago
I stumbled upon a fix . .and it wasn't all what I expected. Here's what i did:
I copied the entire project to another directory, and started off by making a zipfile with minimal content, uploading to the Roku player, downloading the package file, uploading to the Beta Channel, saving, and running Static Analysis. As long as I had the image files specified in the manifest, Static Analysis reported zero Errors. I worked my way up to zipping a complete (and exact) copy of the project, and Static Analysis reported zero errors.
For comparison, I re-zipped and uploaded a new package file from the original project .. and the error came back again. Weird, since the projects were exactly the same, built on identical copies of the same source code.
The only difference were in the names of the zipfiles themselves. One had a "_2" appended on the end, like project.zip and project_2.zip. That's it.
I went back to my original project, changed the zipfile name, re-zipped, uploaded to my Roku, downloaded the Packaged file, uploaded it to my Beta channel .. and it passed Static Analysis.
So, the workaround is to .. change the name of your zipfile before sideloading on your Roku device ??? I have no idea why it works .. maybe something is cached somewhere, and tied to the zipfile name .. ?
But, tl;dr .. I'm not seeing any errors on Static Analysis.
Hopefully this very strange workaround helps someone else down the line. Back to developing !