Appium Tests via Android Studio and Gradle

Hi Anuja and guys - I was trying to setup appium tests to run from Android studio using the TestNG framework and tried to follow your videos posted in your blog but I am not really having much luck with getting this to work. I am able to run the Appium tests from my NetBeans IDE with no issues. I am attaching the script that I am trying to run (only bare minimum steps included) and also the ‘build.gradle’ files as well as the Error log with the Android Studio ‘Make’ run. The Error ‘Error:Gradle: trouble processing “javax/xml/XMLConstants.class”:’ stands out and I tried many options in the online disussion formns with no luck. I have also attached screenshot of a warning I am getting when I do the build… Any help on this will be much appreciated…!

Build.gradle (App).txt (2.6 KB)
Build.gradle (Project).txt (869 Bytes)

Test.txt (2.8 KB)
Test.txt (2.8 KB)