I've been having some issues too...
If I start B4Bridge and start wifi listening
before I open/start the IDE I get unstable connections... meaning that it connects fine, for a bit, and the in the middle if a compile, it loses connection and fails installing... and then reconnects itself...
Then it may go 1 or even 2 hours without losing connection again... until it starts misbehaving again...
But I've only seen this behavior with my S20 phone, running Android 12... on my XCover4, running Android 11 I don't recall having this unstable connection