How to see the Android Orchestrator log?

后端 未结 7 1149
小蘑菇
小蘑菇 2020-12-11 01:03

I have a failing test in my suite and now I am using the Android Orchestrator, but all I get is this message:

Test instrumentation process crashed.

7条回答
  •  醉梦人生
    2020-12-11 01:36

    You'll find them on the device under /data/data/android.support.test.orchestrator/files/.

    To get them off the device via ADB (requires debugging enabled and either a rooted device or an emulator so you have root):

    adb root
    adb pull /data/data/android.support.test.orchestrator/files/
    

    Non-root, AndroidX users can use:

    adb shell run-as androidx.test.orchestrator cat /data/user_de/0/androidx.test.orchestrator/files/com.pkg.name#testName.txt
    

提交回复
热议问题