Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find instrumentation target package: com.macaca.android.testing #204

Open
jimmyru983 opened this issue Sep 16, 2018 · 1 comment

Comments

@jimmyru983
Copy link

app-inspector.js:45:12 [master] pid:1936 server start at: http://192.168.1.65
:5678
uiautomator-client.js:38:12 [master] pid:1936 Package com.macaca.android.test
ing is not exists,execute intsall action.
uiautomator-client.js:51:14 [master] pid:1936 Package com.macaca.android.test
ing.test already exists. No need reinstall.
uiautomator-client.js:92:14 [master] pid:1936 INSTRUMENTATION_STATUS: id=Acti
vityManagerService

uiautomator-client.js:92:14 [master] pid:1936 INSTRUMENTATION_STATUS: Error=Unable to find instrumentation target package: com.macaca.android.testing
INSTRUMENTATION_STATUS_CODE: -1

uiautomator-client.js:92:14 [master] pid:1936 android.util.AndroidException:
INSTRUMENTATION_FAILED: com.macaca.android.testing.test/android.support.test.run
ner.AndroidJUnitRunner
at com.android.commands.am.Am.runInstrument(Am.java:1093)
at com.android.commands.am.Am.onRun(Am.java:371)

uiautomator-client.js:92:14 [master] pid:1936 at com.android.internal.
os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:100)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:332)

Environment check:

$ npm i macaca-cli -g && macaca doctor

  • app inspector version / 版本号:

  • os version / 系统:

  • device information / 设备版本:

  • terminal log / 终端输出信息:

try app-inspector -u xxxx --verbose for more log detail.

@jimmyru983
Copy link
Author

I tried to start the app-inspection in Windows 7, device is Mi4,

app-inspector version 2.0.21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant