I downloaded android studio on Loki (up-to-date) and it works fine for the most part. However, when I try creating a virtual device and run I get error messages about missing files. This is most likely because I didn't install the necessary 32-bit libraries for my 64-bit system. According to the instrcutions on the android studio install page:
Required libraries for 64-bit machines:
If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
When I run the given command, I get a message about a missing libgcc1:i386
which cannot be installed.
How can I get the relevant 32 bit libraries on Loki?
===EDIT===
I've enabled the i386
architecture with: dpkg --add-architecture i386
but that didn't help. Here's an output for the error messages for one of the packages:
The following packages have unmet dependencies:
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
libstdc++6:i386 : Depends: libgcc1:i386 (>= 1:4.2) but it
is not going to be installed
E: Unable to correct problems, you have held broken packages.