簡體   English   中英

如何在Windows中簽出並構建UIAutomator源代碼

[英]How to checkout and build UIAutomator source code in windows

我正在嘗試在UiAutomator.jar中使用UiAutomatorTestRunner.java android sdk附帶的默認UiAutomator.jar里面沒有UiAutomatorTestRunner.java 所以我打算從下載UIAutomator源代碼,並隨着UiAutomatorTestRunner.java https://android.googlesource.com/platform/frameworks/testing/+/99937ceb604da144fd88c028d79fd3b2478f059d/uiautomator/library/testrunner-src/com/android/uiautomator /testrunner/UiAutomatorTestRunner.java並在Windows中本地創建UiAutomator.jar並將其用於我的自動化項目。

我需要幫助,如何在UIAutomator的eclipse中下載源代碼(以及鏈接)並在Windows中本地構建。 非常感謝您對此提供的任何幫助。

1. 建立構建環境

2. 下載源

3,建立目標

  $ source build/envsetup.sh
  $ lunch aosp_arm-eng
  $ make uiautomator 

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM