We snapped AndroidStudio and published it to store. The upstream build that we download, contains many scripts that are executable, so keeping their permissions is very important for the app to start.
When I build that snap on my computer or remotely on my VPS all those file permissions are kept intact, so the app starts fine BUT a snap built and released through
build.snapcraft.io loses all those file permissions, resulting in the app to not start at all.
packaging lives here: https://github.com/snapcrafters/android-studio/blob/master/snap/snapcraft.yaml