I\'ve just updated Android Studio to 4.1 and started receiving the error
ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-8-openjdk-amd64/bi