flathub / com.google.AndroidStudio

https://flathub.org/apps/details/com.google.AndroidStudio
37 stars 23 forks source link

SELinux prevents Android Emulator from launching. #232

Closed jroddev closed 2 months ago

jroddev commented 2 months ago

Running an Android Emulator from the Android Studio Flatpak fails with this error

SELinux is preventing MainLoopThread from using the execheap access on a process.

It can be worked around by running this command setsebool selinuxuser_execheap 1 (Adding the -P will persist it through a reboot). However this enables execheap for all applications on the system which might have other security consequences. Perhaps it need to be added to an Android Studio SELinux policy?

OS: AuroraOS (Fedora Atomic Based)

xanscale commented 2 months ago

do you have same problem with standard version ?

anyway, this seams is not an android studio wrapper bug

xanscale commented 2 months ago

flatpak doesn't ship selinux policy so it can't tweak it either

you should report it somewhere else or fix locally