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

Permission denied when running #2

Closed om26er closed 6 years ago

om26er commented 6 years ago

Android studio does not run from the snap that is installed from the store. If I build it locally it starts just fine.

Basically the studio.sh script that is the entrypoint for Android Studio says 'Permission Denied'

om26er commented 6 years ago

snapcraft 2.35 has a fix, though I am not sure when that will land in xenial-updates.

more details: https://forum.snapcraft.io/t/build-snapcraft-io-alters-breaks-file-permissions/2894

om26er commented 6 years ago

Seems that's a python bug[1], which snapcraft 2.35 has a workaround[2] now.

[1] https://bugs.python.org/issue15795 [2] https://github.com/snapcore/snapcraft/pull/1723

om26er commented 6 years ago

snapcraft 2.35 landed in xenial-proposed, once that lands in xenial-updates, we'll need to do another release of AndroidStudio and everything should be good.

om26er commented 6 years ago

fixed and released.