[FTC]: Allow the app to access the USB device? How to stop this message?

Hello ChiefDelphi

We hope someone here can answer this question. We have tried several times to post it under “FTC Technology” on the official FTC forum but for some reason our posts never show up. Perhaps they are never “approved” by their moderator?? Who knows.

Anyway, our ZTE keeps popping up this annoying message “Allow the app to access the USB device?” with a checkbox that says “always alloow”. We check the box for Always Allow, but it keeps popping up all the time anyway, and it blocks the app from working until you physically go to the RC phone and click “Yes”.

How do we stop this from happening? Are others seeing this?

THANKS

  • The Lazybotts

I’ve seen it before, on my team’s phones and at other phones when I’ve volunteered.

I’d bet that the problem is triggered by erasure of the app’s data files when it’s uninstalled or reinstalled. There’s probably a way to use “adb pull” / “adb push” to save and restore these files, but I’m not sure which files to grab.

You are right its pretty common when installing a new instance of the FTC Robot Controller … I’m not talking about that…

I’m talking about losing USB while running an OpMode and it won’t restart from driver station. When we investigate the robot controller the dialog is sitting in the background. At that point have to accept, power down robot wait then start everything back up again