An established connection was aborted by the software in your host machine in android studio – Kotlin

  android, android-emulator, android-studio, kotlin

Before anyone marks this as a duplicate, allow me to make a few distinctions between my issue and the other similar posts:

  • I get this "An established connection was aborted by the software in your host machine in android studio" error with only 1 project, all others will build and run without issue
  • There are no other instances of Java/Eclipse running on my computer as far as I can tell, I’ve combed through my Task Manager upwards of 25 times now
  • I’m running this on Android Studio in Kotlin, not in Eclipse in Java

I’ve continuously run into this issue and I have no idea what to do. I’ve tried:

  • closing all other open programs and restarting Android Studio
  • restarting my computer
  • uninstalling and reinstalling Android Studio
  • invalidating cache and restarting

None of which works. I’m at my wits end, any help would be appreciated.

The only error output I get in my build log is:
An established connection was aborted by the software in your host machine in android studio

Edit:
Here’s a screenshot of the build log
buildlog
computer is in french

Source: Android Questions

LEAVE A COMMENT