diff --git a/DEVELOP.md b/DEVELOP.md index e75ff18..80df92c 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -1,4 +1,4 @@ -## 本地开发指南 +## Local development ``` git clone https://github.com/openatx/uiautomator2 @@ -6,15 +6,19 @@ cd uiautomator2 pip install poetry poetry install -``` -项目使用poetry做包管理和打包发布功能 +# download apk to assets/ +make sync + +# run python shell after device or emulator connected +poetry run uiautomator2 console +``` ## ViewConfiguration -一些默认的配置,从 [/android/view/ViewConfiguration.java](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/ViewConfiguration.java)中可以查到 +Default configuration can retrived from [/android/view/ViewConfiguration.java](https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/view/ViewConfiguration.java) -> 单位: 毫秒 +> Unit: ms - TAP_TIMEOUT: 100 - LONG_PRESS_TIMEOUT: 500