Android Studio version:
Android Studio 3.1.2
Build #AI-173.4720617, built on April 14, 2018
It's installed from Ubuntu's snap store.
I installed the kvm using 1. Setting Up Android Studio on Ubuntu · uw-it-aca/spacescout-android Wiki.
I tried what Solve Android Studio AVD issue with Ubuntu distros - cialu.net suggested, but now the lib64
folder doesn't contain libstdc++
. The closest I could find is libc++.so.1
, and I tried to install it using
sudo apt install libc++1
and link it similarly, but it just got my pc stuck. I also looked at the threads linked by Android emulator segmentation fault's answer but they look old..
I also tried How to solve Android Studio Emulator: libGL error on Ubuntu systems - cialu.net, but it didn't help.
I tried Android Emulator is not starting in Ubuntu's answer, using How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux - LinuxConfig.org to install the Nvidia drivers, but still not working. This is the output from ubuntu-drivers devices
:
== /sys/devices/pci0000:00/0000:00:03.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001401sv00001043sd0000854Dbc03sc00i00
vendor : NVIDIA Corporation
model : GM206 [GeForce GTX 960]
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin
The only thing that worked is Android virtual device manager crashes with “double free or corruption”'s answer, but I want the hardware acceleration..
Can you please help me?