the existing devices connected wirelessly using adb automatically got disconnected.
I could easily connect my android phone using adb over wifi and debugging native code in android studio worked flawlessly. I had faced a similar issue myself when I first set up flutter.