spoon: Problem with parsing logcat output

My command is (1.2.1 version):

java -jar /opt/spoon/spoon-runner.jar --apk app/build/outputs/apk/app-debug-unaligned.apk --test-apk app/build/outputs/apk/app-debug-androidTest-unaligned.apk --output app/build/outputs/spoon-runner/ --sdk /opt/android-sdk/

but result is somehow suprpsing:

2015-11-17 16:06:20 [SR.runTests] Executing instrumentation suite on 1 device(s).
Exception in thread "Thread-1" java.lang.IllegalStateException: No logcat header processed yet, failed to parse line: --------- beginning of system
    at com.android.ddmlib.logcat.LogCatMessageParser.processLogLines(LogCatMessageParser.java:123)
    at com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver.processLogLines(LogCatReceiverTask.java:112)
    at com.android.ddmlib.logcat.LogCatReceiverTask$LogCatOutputReceiver.processNewLines(LogCatReceiverTask.java:107)
    at com.android.ddmlib.MultiLineReceiver.addOutput(MultiLineReceiver.java:100)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:519)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:382)
    at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:353)
    at com.android.ddmlib.Device.executeShellCommand(Device.java:604)
    at com.android.ddmlib.logcat.LogCatReceiverTask.run(LogCatReceiverTask.java:75)
    at java.lang.Thread.run(Thread.java:745)
2015-11-17 16:06:53 [SDR.handleFiles] Found class name dirs: [Ljava.io.File;@58ceff1

so far I have no idea what’s wrong with it

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Reactions: 4
  • Comments: 36 (13 by maintainers)

Commits related to this issue

Most upvoted comments

I still get error with using android gradle plugin 2.10 and spoon-runner 1.5.2

I am getting this also, with gradle 2.10 and spoon 1.5.6, am I doing something wrong?