Skip to content

Commit

Permalink
Update DEVELOP.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue authored May 14, 2024
1 parent 0a66b07 commit 7fee966
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 7fee966

Please sign in to comment.