I couldnt run appium using Android Studio

When i try to run/ build the gradle in android studio using Java script, it doesnt happening or executing and which shows error.
So i need information about how to get started in Android studio with java script in MAC OS SIERRA