Android Studio on 64bit Ubuntu release requires below packages to be installed for the emulator to work
libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
We want to ship those packages with only the 64bit snap as they are redundant on 32bit installs.
I get below error while trying to build that snap:
Error downloading stage packages for part 'android-studio': The package 'libc6:i386' was not found.
You may need to add support for this architecture with 'dpkg --add-architecture i386'.
On local systems I can do
dpkg --add-architecture i386 but I need a way that work on build.snapcraft as well.
my yaml looks like this https://github.com/om26er/android-studio/blob/emulator-req-fix/snap/snapcraft.yaml