I have been facing issue for sometime now. I use ubuntu for development but now the issue I face – Whenever I run adb commands on terminal, Android Studio disconnects weird though I can install the apps via run but logcat, layout inspector which I use frequently would show device as offline.
The issue can be resolved if I reopen Android Studio but it’s kinda hindering my flow of development.
If anyone faced something similar