D Dane du Plooy Member Licensed User Longtime User Nov 21, 2018 #1 Hello Does anybody have any tips / advice for resolving "getServiceInstance failed!"? Logging does not work, and this message shows up in the log instead, on one of the devices which I am testing on. I have tried Tools -> Clean project, as well as restarting the device. The device is connected via B4ABridge. I cannot connect via USB, as the USB is being used to connect to another device as part of the project. Thanks!
Hello Does anybody have any tips / advice for resolving "getServiceInstance failed!"? Logging does not work, and this message shows up in the log instead, on one of the devices which I am testing on. I have tried Tools -> Clean project, as well as restarting the device. The device is connected via B4ABridge. I cannot connect via USB, as the USB is being used to connect to another device as part of the project. Thanks!
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2018 #2 Enable the developer options. On some devices there is an option to enable logs in these settings. Upvote 0
D Dane du Plooy Member Licensed User Longtime User Nov 21, 2018 #3 Thanks Erel . I've enabled developer options, however don't see any option to enable logs. There is a "USB debugging" option, which I have enabled just in case, however it does not seem to make any difference. The device is Kernel version 3.18.19. Any other ideas? I am struggling with USB permissions on this device (work fine on the other device I am testing with), however that is a topic for another thread. Upvote 0
Thanks Erel . I've enabled developer options, however don't see any option to enable logs. There is a "USB debugging" option, which I have enabled just in case, however it does not seem to make any difference. The device is Kernel version 3.18.19. Any other ideas? I am struggling with USB permissions on this device (work fine on the other device I am testing with), however that is a topic for another thread.
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2018 #4 Worth trying with USB debug mode instead of B4A-Bridge. Upvote 0
D Dane du Plooy Member Licensed User Longtime User Nov 21, 2018 #5 The particular thing which I am trying to debug is a USB connection to a slave device, so the USB port is unavailable. I could try the USB debugging just to see whether the log works in this mode however - will do this if I get a gap. Upvote 0
The particular thing which I am trying to debug is a USB connection to a slave device, so the USB port is unavailable. I could try the USB debugging just to see whether the log works in this mode however - will do this if I get a gap.