一、基於appinum開發了腳本,測試了一下能實現功能,但是每次連接手機都需要安裝io.appium.uiautomator2.server和io.appium.uiautomator2.server.test試過了https://blog.csdn.net/hxy199421/article/details/85165714?depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4&utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4的方法,修改後無法與手機通信。
二、使用教程可參考https://www.cnblogs.com/zgq123456/articles/10721337.html,其中host填127.0.0.1。