issue:
Gradle sync stop working with "Cannot run program “node” message
I am using “Android Studio Bumblebee | 2021.1.1”.
it works for me
sudo chmod +x /Applications/Android\ Studio.app/Contents/bin/printenv
more info: https://stackoverflow.com/a/70891538/2558451