01 December 2017

Android Emulator does not Launch in Ubuntu 17.10

I tried to run the Android Studio 3 emulator on fresh installed Ubuntu 17.10 to test an app I'm working on. And I got this error in Android Studio Event Log:

libGL error: unable to load driver: i965_dri.so
AVD Emulator: Process finished with exit code -1


Solution:
Type in Terminal:

$ cd ~/Android/Sdk/emulator/lib64/libstdc++
$ mv libstdc++.so.6 libstdc++.so.6.bak
$ ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6

That's it!



Now my Android Studio 3 emulator is working again!

HP 850 G3 Grub Multiboot Ubuntu and Windows 10 on UEFI

After I installed Microsoft Windows 10, and then alongside Ubuntu, with UEFI bootabled USB disks,
last setup (Ubuntu) created Grub configuration, which is listed in HP UEFI BIOS sequence, but after power on, system get Grub Bush command prompt, without listed operating systems, like Ubuntu, Windows e.t.c., unabled to boot.



Solution: In HP BIOS setup put in a 5 (or more) seconds delay in the "Boot Options" menu. Then, when you switch on your notebook, you'll have 5 (or more) seconds to choose "ubuntu" among the possible boot options (it should be the first one).

I think that those 5 seconds delay give HP enough time to recall all UEFI and other partitions and successfully recall Grub menu.