Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] On Mac OS it throws ProcessException: Operation not permitted #24

Open
biel-correa opened this issue Mar 23, 2024 · 2 comments
Open

Comments

@biel-correa
Copy link

Platform: Mac OS M2 Sonoma 14.4

I was runnig the command await _emulators!.toolchain.emulator(['-list-avds']).string() and got the error ProcessException (ProcessException: Operation not permitted Command: /<sdk-path>/Android/sdk/emulator/emulator -list-avds). I also tried runnig as release build to check if it would request for any permission but the app just crashed.

@biel-correa biel-correa changed the title [Bug] On MacOS it throws ProcessException: Operation not permitted [Bug] On Mac OS it throws ProcessException: Operation not permitted Mar 23, 2024
@biel-correa
Copy link
Author

Found the solution, disable sandbox mode for macos at /<project>/macos/Runner/*.entitlements

@biel-correa
Copy link
Author

Repenning because the solution only worked while debuging

@biel-correa biel-correa reopened this Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant