Newly installed android studio has gradle access not set to execute.
ending up with Error: spawn EACCES
error message.
using –verbose does not show details.
but change mod to add execute permission fix the issue.
chmod +x /Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle