Verify the installation by typing the following command which will print the Java version. If it doesn’t exit, install java 8 or greater:
java -version
sudo apt install openjdk-8-jdk
Check whether KVM is currently installed on Linux. If it doesn’t exist, install it:
$ sudo apt-get install cpu-checker
$ egrep -c '(vmx|svm)' /proc/cpuinfo
12
$ kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used
$ sudo apt install qemu-kvm
Install android studio:
sudo snap install android-studio --classic