There are times that your Android Studio is unable to connect to the emulator when you are trying to run your app or debug your app. You can try to restart the computer. But that does not work, then it is more simple to just delete the emulator and re-create another one again