Snap installed from Store wont start

We published Android Studio to the store, it was working fine when I was building it locally but when installed from store the main script studio.sh says ‘Permission denied’.

Do I need to set some special permissions somewhere, I am confused.

EDIT
exact error on command line:

/snap/android-studio/15/command-android-studio.wrapper: 2: exec: /snap/android-studio/15/android-studio/bin/studio.sh: Permission denied

packaging lives here: https://github.com/snapcrafters/android-studio

is “studio.sh” executable ?

The file permission is 755 as downloaded from source. If I build the same snap locally, on my computer and install it, the app starts. Installing from store, with exact same packaging causes the above issue.

If installed from store, studio.sh has permission: 644, if built and installed locally then 755.

So I would say something, somewhere is altering that file’ permissions.

I kind of forgot that I had a similar discussion already started here. Build.snapcraft.io changes file permissions is a more distilled version of the issue reported here, so perhaps we should continue the discussion there.

(Not sure how to close this one)