1.appCrawler環境配置
1.1 apkinfo獲取安裝包的報名和mainActivity
https://github.com/codeskyblue/apkinfo/releases

使用方法:apkinfo 安裝包

1.2 手機鏡像工具 scrcpy
mac安裝scrappy:brew install scrcpy
windows:https://github.com/genymobile/scrcpy
1.3 安裝Appium sdk
1.4 xpath:http://www.ruanyifeng.com/blog/2009/07/xpath_path_expressions.html
1.5 apk安裝包:ApiDemos.apk
- 鏡像地址 https://github-mirror.open.netease.com/appium/java-client/raw/master/src/test/java/io/appium/java_client/ApiDemos-debug.apk
- 原始地址 https://github.com/appium/java-client/raw/master/src/test/java/io/appium/java_client/ApiDemos-debug.apk
1.6 下載AppCrawler
https://github-mirror.open.netease.com/codeskyblue/atxcrawler/releases/download/0.1/appcrawler-2.1.3.jar
原始下載地址:https://pan.baidu.com/s/1dE0JDCH
資源鏈接:https://github.com/seveniruby/AppCrawler
注意:appcrawler只支持1.8
2. 簡單遍歷操作
2.1 啟動Appium : Appium --session-override
2.2 appCrawler參數:
不加任何參數會輸出appCrawler的幫助文檔,如圖:

