I am trying to use UiAutomatorTestRunner.java in UiAutomator.jar . By default, UiAutomator.jar , which comes with sdk for Android, does not have UiAutomatorTestRunner.java in it . Therefore, I plan to download the source code UIAutomator and UiAutomatorTestRunner.java of https://android.googlesource.com/platform/frameworks/testing/+/99937ceb604da144fd88c028d79fd3b2478f059d/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/UiAutomatorTestRunner. java and make UiAutomator.jar locally on Windows and use it for my automation project.
I need help how to download the source code in eclipse UIAutomator (along with the link) and create it locally in windows. Thanks for the help in this.
1. Creating an assembly environment
2. Download source
3. Creating a goal:
$ source build/envsetup.sh $ lunch aosp_arm-eng $ make uiautomator