snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
46 stars 15 forks source link

Remove unneeded 32bit libraries #15

Closed om26er closed 6 years ago

om26er commented 6 years ago

Background: Previously we added these 32bit libraries into the snap believing they were required for the emulator to work, but from recent experience it seems that's not the case. At one stage in past, those libraries were indeed required for the Android Emulator to start but with recent version it seems they have removed the dependency on 32bit libraries.

On technical side, this is a classic snap and we need to explicitly export path of those staged libraries in the LD_LIBRARY_PATH and we are currently not doing that. So that means these staged packages are not actually being used.

So this PR basically removes the libraries cruft.

Shall the need arrive in future, we will fix that as needed.

om26er commented 6 years ago

FYI, I did a fresh build on my DigitalOcean droplet using this PR and then ran Android Studio from there using X11 forwarding and it worked fine. I'll add CI for this and sublime-text during the weekends.