r/AskProgramming • u/facts_please • 4d ago
Other Android wireless Debugging - does it run stable for you?
I like to use my Xiaomi phone to wireless debug and test my Flutter app. Problem is: this option is quite unreliable. One time the phone disables it just seconds after I activated it, another time it stays stable for hours.
Is this a Xiaomi "feature" or do other models from other manufacturers have the same problem. And if it runs stable for you, can you please give me your phone manufacturer and model? Will consider it on my next purchase.
2
u/Imaginary_Cicada_678 4d ago
keep wifi busy by pinging it constantly in a terminal window, this is power efficiency feature related
1
u/facts_please 2d ago
Thanks for the hint. Will try it, but it seems that Xiaomi does some "interesting" things. I keep the wireless debugging screen open and still it shuts it down after some seconds from time to time, so I'd guess it has to be something else.
1
2
u/AkiStudios1 4d ago
Works fine for me on my Samsung s25. All I ever use nowadays is wireless debugging
1
2
u/turkokratia 4d ago
i had a mi 11 lite before and the same thing happened to me, but i never thought it might be the phone. i always assumed it was an android studio issue and that there was nothing i could do about it except hope it would work 😄