问题
I'm trying to use Appium with Android Studio. My search on google doesn't helped much out! So what do I need in the gradle file and how to run the tests?
Thanks
回答1:
Your gradle file should be like this:
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
Mention all your jar here
}
From command line you can run your gradle(gradle assemble) to create the jar of your test and then you can run that jar.
来源:https://stackoverflow.com/questions/28969685/how-to-use-appium-with-android-studio