Appium using Android studio

i am facing some issues in Appium using Android studio.I have installed every thing but while writing in Android stodio getting error.