The previous test that I made you to execute forces that situation from command line, but with the next steps you can have a more permanent and confortable solution, allowing you to fire any Hardware Accelerated emulator directly from AVD UI.įirst of all, your system libs are on this Ubuntu path: /usr/lib/x86_64-linux-gnu/ Google distributes OpenGL libraries with the SDK but in Ubuntu that config is broken because C++ library could't be found, so the best solution that I found is to point a simbolic link to the system libraries that you already have on Ubuntu. So, the problem is that Android SDK cannot find the OpenGL config and libs. The only thing that worked is Android virtual device manager crashes with “double free or corruption”'s answer, but I want the hardware acceleration. Modalias : pci:v000010DEd00001401sv00001043sd0000854Dbc03sc00i00ĭriver : nvidia-driver-390 - distro non-free recommendedĭriver : xserver-xorg-video-nouveau - distro free builtin
Install android emulator on fresh ubuntu how to#
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 - to install the Nvidia drivers, but still not working. I also tried How to solve Android Studio Emulator: libGL error on Ubuntu systems -, but it didn't help. I also looked at the threads linked by Android emulator segmentation fault's answer but they look old. The closest I could find is libc++.so.1, and I tried to install it using sudo apt install libc++1Īnd link it similarly, but it just got my pc stuck. I tried what Solve Android Studio AVD issue with Ubuntu distros - suggested, but now the lib64 folder doesn't contain libstdc++.