Endless install in android studio : <p>In the recent times I am considering to change my work title from "Android Developer" to "Endless install progress watcher".</p>

<p>It has been happening ever more often that when I try to run my applications or tests Android Studio stucks in endless installing progress like the image below:</p>

<p><a href="https://i.stack.imgur.com/HRbiz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HRbiz.png" alt="enter image description here"></a></p>

<p>This progress remains like forever. It used to be that if I disconnect my device and connect again the next attempt will succeed. Now it is often the case that I need multiple re-connects until I am able to run.</p>

<p>The speculation is the problem is due to ADB hanging and loosing connection somehow, but I do not know how to overcome that.</p>

<p>My configuration is:
 - Ubuntu Linux, but colleagues experience the same on Mac OS e.g.
 - Android Studio 3.5
 - device is Nexus 5X, but the same happens on many other devices </p>
