sudo apt install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
download android-studio
get a message about kvm
sudo apt install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
sudo adduser $USER kvm
sudo adduser $USER libvirt
#sudo apt install -y qemu-kvm libvirt-clients libvirt-clients-qemu bridge-utils
#sudo apt install -y libvirt-daemon-driver-qemu libvirt-daemon-system
flatpak install com.google.AndroidStudio
install:
vip duo authy
config.ini
set memory to 2048–>8192 (hw.ramSize) set heap from 256–>1024 turn off gpu
find the following lines and update as follows
vm.heapSize = 1024
hw.ramSize = 8192
hw.gpu.enabled = yes
hw.gpu.mode = host
turn off vulkan: https://stackoverflow.com/questions/69134922/google-chrome-browser-in-android-12-emulator-doesnt-load-any-webpages-internet
cat << EOT | tee advancedFeatures.ini
Vulkan = off
GLDirectMem = on
EOT
then move it into your vm’s location
#mv advancedFeatures.ini <final location>
mv advancedFeatures.ini ~/.android/avd/Pixel_6a_API_35.avd # for example
delete storage in chrome and uninstall updates.