Appium compatiblity with Android studio

Hi Guys,

I am new to Appium automation, and I am trying to configure the Appium with Android studio for writing a test cases. I am facing configuration problem with gradle build. Do any body know how Appium works with android studio?

Any inputs will be really appreciated.