snapcrafters / android-studio

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

Ensure pulseaudio socket is available #74

Closed om26er closed 3 years ago

om26er commented 3 years ago

Fixes https://github.com/snapcrafters/android-studio/issues/62 Fixes https://github.com/snapcrafters/android-studio/issues/56

om26er commented 3 years ago

fyi there was an issue with transfer.sh, so I restarted the build.

Also: it seems transfer.sh is going away in October, so we should get rid of that all together.

om26er commented 3 years ago

@popey @flexiondotorg this is good to land. Can anyone take a look please.

guss77 commented 2 years ago

This fix does not work for me on Ubuntu 21.04. The problem is that $XDG_RUNTIME_DIR is set to /run/user/$UID and so $XDG_RUNTIME_DIR/../pulse/native points to the non-existent path /run/user/pulse/native instead of /run/user/$UID/pulse/native that you would expect.