同用模板匹配,代码简单易学,半天时间绝对能搞懂。opencv 已经封装的很简化了。
我用的 --ui-automator-mode 按道理不会重签名吧。
我也跑不起来,是签名还是咋的,不知道下面这段 log 有没有啥影响
Line 5740: 09-18 16:42:59.693 D/ApplicationLifecycleMonitorImpl(15410): running callback: androidx.test.tools.crawler.SignaturePatchingCallback@78fd00e
Line 5742: 09-18 16:42:59.693 E/ApplicationLifecycleMonitorImpl(15410): Callback threw exception! (callback: androidx.test.tools.crawler.SignaturePatchingCallback@78fd00e stage: PRE_ON_CREATE)
Line 5746: 09-18 16:42:59.693 E/ApplicationLifecycleMonitorImpl(15410): at androidx.test.tools.crawler.SignaturePatchingCallback.readSignatures(SignaturePatchingCallback.java:22)
Line 5747: 09-18 16:42:59.693 E/ApplicationLifecycleMonitorImpl(15410): at androidx.test.tools.crawler.SignaturePatchingCallback.enableSignaturePatching(SignaturePatchingCallback.java:5)
Line 5748: 09-18 16:42:59.693 E/ApplicationLifecycleMonitorImpl(15410): at androidx.test.tools.crawler.SignaturePatchingCallback.onApplicationLifecycleChanged(SignaturePatchingCallback.java:3)
Line 5760: 09-18 16:42:59.693 D/ApplicationLifecycleMonitorImpl(15410): running callback: androidx.test.tools.crawler.SignaturePatchingCallback@78fd00e
Line 5761: 09-18 16:42:59.693 D/ApplicationLifecycleMonitorImpl(15410): callback completes: androidx.test.tools.crawler.SignaturePatchingCallback@78fd00e