Android Virtual Device does not start on Android Studio 3.2 Canary 3 on a Dell Optiplex 7010 Desktop computer running Ubuntu Linux 17.10

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:

https://developer.android.com/studio/preview/install-preview.html

I started up Android Studio using this command:

$ /home/anne/android-studio-preview-32-Canary2/bin/studio.sh

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.

 

Leave a Reply