Initializing Android Debugger... Forever

I have a small app that I wrote months ago and now must adapt to a new device. The device allows for USB debugging and shows up in Android Studio as well as Xojo (2025r3). So far, so good.

When I run the app I get the usual compiling screens and then Initializing Android debugger… window. And it never goes away.

I have rebooted to clear out any errant connections and even tried an older compiler. I rebooted the scanner. I have ordered a Voodoo doll shaped like a scanner but it’s on back-order. I am very frustrated at this point and hope that someone might offer a suggestion on what to try next (and we have no witch doctors in Appalachia).

Thanks for any suggestions.

I had this same problem last night. I solved it by actually doing a build of the android app. Once it built it I then I tried to debug it and it debugged normally.

Have you tried to clear the cache at the Xojo Preferences panel?

Thank you both Alan and Martin. I will try both suggestions and see what happens.

I went back to the scanner with which I originally built the app and it sort of works. Now I have Connecting to Xojo… not progressing. My app opens but does not link back. Still, progress is progress.

Not sure if it is still the case but in previous Xojo versions Android Studio had to be closed before trying to debug in Xojo.