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: 
blashadow
Reel Rookie

Static analysis error "Usage of the UpdateLastKeypressTime()"

Jump to solution

I'm getting this error with the static analysis:
"Usage of the UpdateLastKeypressTime() API is no longer permitted. Path: /components/TrackerTask_v.3.2.0.xml. Line: 694"

but I don't event know where this file is, is not in my components folder either.

I saw other people with this issue that is resolve with re-packaging but that's not working for me.

0 Kudos
1 Solution

Accepted Solutions
blashadow
Reel Rookie

Re: Static analysis error "Usage of the UpdateLastKeypressTime()"

Jump to solution

I was able to fix this issue, here's the details:

I was doing this:
1. Packaging my app content into a zip file 
2. Uploading this zip file using RALE (since it's pretty easy) <- This step is causing the issue
3. (Web) Convertir the package to squashfs
4. (Web) Generating the package
5. Uploading the package to Roku and getting the error. "Static analysis error "Usage of the UpdateLastKeypressTime()"

I fix by doing this instead:
1. Packaging my app content into a zip file 
2. Uploading this zip file using the web installer
3. (Web) Convertir the package to squashfs
4. (Web) Generating the package
5. Uploading the package to Roku and getting the error. "Static analysis error "Usage of the UpdateLastKeypressTime()"

View solution in original post

0 Kudos
1 REPLY 1
blashadow
Reel Rookie

Re: Static analysis error "Usage of the UpdateLastKeypressTime()"

Jump to solution

I was able to fix this issue, here's the details:

I was doing this:
1. Packaging my app content into a zip file 
2. Uploading this zip file using RALE (since it's pretty easy) <- This step is causing the issue
3. (Web) Convertir the package to squashfs
4. (Web) Generating the package
5. Uploading the package to Roku and getting the error. "Static analysis error "Usage of the UpdateLastKeypressTime()"

I fix by doing this instead:
1. Packaging my app content into a zip file 
2. Uploading this zip file using the web installer
3. (Web) Convertir the package to squashfs
4. (Web) Generating the package
5. Uploading the package to Roku and getting the error. "Static analysis error "Usage of the UpdateLastKeypressTime()"

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.