I can get wireless debugging to work in Android Studio. It just doesn't work consistently. It is often a hassle to get it to connect at all, but I can usually get around it using a variety of methods, some of which are:
- Pair using adb in a command prompt
- Disconnect adb (AS will reconnect)
- Restart the phone
When it gets unpaired, pairing in AS seldom works. It just waits a long time and then says it failed, no explantation. However, pairing in a command prompt almost always works, so I can get it paired.
When I do get it to connect, it often keeps dropping out. Sometimes even while running my app and generating logcat output.
Sometimes wireless debugging gets turned off on the phone. Sometimes not, but the notification disappears. Or not.
My wifi works just fine and is pretty reliable. I do not think it is the wifi. However, it is a dual band router. Where I work, it is usually using the 2.5 GHz band. I have not found anything on the Internet mentioning dual band.
The phone is an S22 Ultra and works well most of the time. I also do not think it is the phone.
Dual band is pretty common these days. Do other people have trouble with dual band. Is it supposed to work with dual band? Are there any other suggestions.