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
- Updated android-gradle plugin to 2.0.0-beta6 to fix issue https://github.com/square/spoon/issues/302 — committed to ObjectiveTruth/UoitDCLibraryBooking by deleted user 8 years ago
- Bumped ddmlib version from 24.5.0 to 25.1.2 Solves #302 issue: "Exception in thread "Thread-1" java.lang.IllegalStateException: No logcat header processed yet, failed to parse line: --------- beginnin... — committed to kirillzh/spoon by deleted user 8 years ago
- Bumped ddmlib version from 24.5.0 to 25.1.2 (#354) Solves #302 issue: "Exception in thread "Thread-1" java.lang.IllegalStateException: No logcat header processed yet, failed to parse line: --------- ... — committed to square/spoon by kirillzh 8 years ago
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?