openatx / android-uiautomator-server

MIT License
252 stars 145 forks source link

Fail to run am instrument command #58

Closed Joshuaoneheart closed 9 months ago

Joshuaoneheart commented 9 months ago

I was trying to clone and build this repository. After building and installing successfully, I try to use am instrument command to enable uiautomator, but keep getting the follow error. Can anyone help? All setting is the same as the original in this repository. Permission Denial: starting instrumentation ComponentInfo{com.github.uiautomator.test/androidx.test.runner.AndroidJUnitRunner} from pid=17992, uid=2000 not allowed because package com.github.uiautomator.test does not have a signature matching the target com.github.uiautomator