SDK Manager hangs during login on Ubuntu 18.04

Hello, my SDK Manager hangs during login and the green bar remains stuck.
The message shown is “Loading and processing available products” and it stays like that.
The ‘Cancel login’ and ‘Stay logged in’ UI buttons are non-responsive.

I saw a similar post from before so I just copied and pasted similar words for this current post. The solution was done privately in the other post, so I would like to ask for a solution too.
I am using Ubuntu 18.04 on a virtual machine. Thanks!