創建基於androidX庫的uiautomator2.0工程的要點

1、新建工程的時候,不要勾選此項 2、build.gradle(:app)文件中添加依賴 androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0' androidTestImplementation 'org.hamcrest:hamcrest-integration:1.3' // 指定java編譯版本
相關文章
相關標籤/搜索