# uiautomator2 **Repository Path**: yongxing912/uiautomator2 ## Basic Information - **Project Name**: uiautomator2 - **Description**: Uiautomator2 library compatible with Android 12 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-03-22 - **Last Updated**: 2024-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Introduction Because uiautomator2 will automatically disconnect after being used in Android 12 for a long time, the test terminal will be disconnected. The root cause is that the old version of uiautomator apks is not compatible with Android 12. Therefore, I wrote uiautomator apks from, and using custom apks needs to modify uiautomator2, so I have this version #Usage ###1. Remove previously installed older versions ``` pip uninstall uiautomator2 ``` ###2.Install new version ``` pip install -U hmd-uiautomator2 ```