After installing the Preview version of Android Studio (AS 2.2 Canary 3) on the Dell Optiplex desktop running Ubuntu Linux 17.10 according to this page:
I started up Android Studio using this command:
Android Studio started up OK but when I tried to run a “Hello World!” app I had the same problem that I had on my Dell Inspiron 15R laptop running Ubuntu Linux 17.10 – the emulator would not start.
As per my previous post I fixed this problem using this method:
$ 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
The emulator started normally. But it stopped again later so I reissued the three commands above and it fixed it again.
A word of warning though: a later SDK update would not work because of the detection of libstdc++.so.6.bak – but it seemed to complete the update by an alternate method, so I left all alone.