Can't deploy to Android emulator after a while - install hangs

I’m emulating my app on the Android emulator quite happily, but quite regularly, Ionic won’t install a new version of my app anymore when I do ionic cordova emulate android. The app builds OK, but when it tries to install the app on the emulator, I just get a series of dots coming up in the console as the command waits for the emulator. I then have to close the emulator and cold boot it. Then the app installs OK. This happens several times a day. There are no errors apparent on the emulator or in the Android Studio console.

Does anybody else see this and have a solution or workaround?