最近换了小米手机做自动化测试,执行命令的时候报安装失败错误,错误如下
解决:设置小米允许USB安装就好了
pm install -r "/data/local/tmp/com.macaca.android.testing"