title: Android | WiFi adb keeps disconnecting in android studio
body: <p>It was really strange that adb wifi was disconnecting and debugging via cable is way more unreliable as well as uncomfortable.I did research on internet too. I did try many possible solutions, changing adb drivers, wifi mode and etc. But can't find the problem. It's just keeps disconnecting. I tried to make a loop to keep alive the adb connection.</p>
  <pre><code>:loop
  adb connect 10.226.170.129:4444
  goto loop
  </code></pre>
  <p>But, still didn't work. Even after running this loop infinitely it still disconnected.</p>