Using Android Studio 3.1.4 on Windows 64 Pro. When running any app, including a sample project, Android Studio gets stuck the second time around on build/run cycle.
In Windows task manager I see java.exe suspended where one of the process threads it says is waiting on network i/o.
I have to kill java.exe from the Windows task manager every time I build/run an app.
I tried all of the following with no help:
- deleted .gradle in my user folder
- deleted .AndroidStudio3.1 folder in my user folder
- invalidate caches/restart
- use offline gradle option
- disable instant run
Any ideas why this is happening? Seems that the build process is deadlocking on itself. This only happens on the second build/run.