unable to connect to adb.check the event log for a possible issue, verify that localhost entry is pointing to 127.0.0.1 or:: 1 for ipv4 or ipv6
If non of the above answers worked for you (as same happend to me), down grade to the old version of Android Studio by following these steps:
This version of Android Studio cannot open this project, please retry with Android Studio 3.4 or newer.
tools.build version. I.e. in my case Android studio version is 3.2 and classpath 3.2.1Hope it might save someone time.