Skip to content

Commit

Permalink
Merge branch 'master' of github.com:openatx/uiautomator2
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed May 14, 2024
2 parents bcc1675 + 7fee966 commit 36c333f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions DEVELOP.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
## 本地开发指南
## Local development

```
git clone https://github.com/openatx/uiautomator2
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
Expand Down

0 comments on commit 36c333f

Please sign in to comment.