Hi,
I upgraded to B4A 12.0 and I'm no more able to connect B4A to B4A Bridge (2.65) on a Moto 30 Neo (Android 12).
It connects some seconds then disconnects.
The router did not change. The app on the phone was working previously.
The only thing that changed was a security update of the phone (android patches until september 1st) in the same time of B4A's update.
Actually, that'd be more like my fifth tack; I was assuming you've already tried the obvious of shutting down B4A-Bridge and all other apps and then restarting B4A-Bridge, of disconnecting and reconnecting network, of phone off and restart, etc.
Hi,
You assumed right of course and thanks a lot for your idea. I have tried what you suggested by closing all, uninstalling, restarting the router, etc. But no luck on that part.
The best I got with a fresh install of B4A bridge was its Main activity going on the top of the other apps while put in the background.
I will try using the source code of B4A bridge. Maybe some errors could be printed in its logs. I'll send more information.
Have you got an easy way of running the previous version of B4A itself? Like, could you temporarily rename the B4A directory in "C:\Program Files\Anywhere Software" and restore the previous version and see if that connects to your phone any better?
Lol I've just discovered:
so perhaps I should tidy up my own front yard first before advising others. ?
Thanks @Erel. But there is no other instance of B4A running. I restarted the computer. I don't think it"s on B4A side but more on the update of the phone (maybe). Reason why I asked for some idea (if any and after having searched the forum).
The behavior is, at the bottom of B4A window : connecting, disconnecting, etc.
I will try to find other fix (maybe) and maybe with the source of B4A Bridge i could see anything in the logs. Thanks again
Thanks @Erel. But there is no other instance of B4A running. I restarted the computer. I don't think it"s on B4A side but more on the update of the phone (maybe). Reason why I asked for some idea (if any and after having searched the forum).
The behavior is, at the bottom of B4A window : connecting, disconnecting, etc.
I will try to find other fix (maybe) and maybe with the source of B4A Bridge i could see anything in the logs. Thanks again
Mostly it is due to multiple copies of B4a trying to connect as Erel pointed out, however, check if you have any other application which runs its own copy of adb.exe or aggressively kills those started by other processes.
Hi,
I upgraded to B4A 12.0 and I'm no more able to connect B4A to B4A Bridge (2.65) on a Moto 30 Neo (Android 12).
It connects some seconds then disconnects.
The router did not change. The app on the phone was working previously.
The only thing that changed was a security update of the phone (android patches until september 1st) in the same time of B4A's update.
And it is fixed now. Here is how I did (it can be reproduced as I played it twice).
- I uninstalled B4A Bridge 2.65
- reboot the phone
- reinstall the BA4 bridge app
- let B4A Bridge app on STOP
- initiate the connection to the B4A bridge IP from B4A
- put B4A Bridge app on START
Then it will connect. After that, it will connect without any other trouble.
Hope it can help someone in the future