I installed android studio 4.1.1 on my pop!-OS Linux distro, through pop!-OS shop, which I believe is only a thin front of apt utility. When choosing JDK, I used JDK 1.8.X