This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Description
After running the tests on two devices, the gradle command fails with the following,
Exception in thread "pool-52-thread-1" java.lang.NoSuchMethodError: 'java.lang.String com.android.ddmlib.logcat.LogCatMessage.getTag()'
at com.squareup.spoon.SpoonDeviceLogger.getParsedLogs(SpoonDeviceLogger.java:47)
at com.squareup.spoon.SpoonDeviceRunner.mapLogsToTests(SpoonDeviceRunner.java:548)
at com.squareup.spoon.SpoonDeviceRunner.run(SpoonDeviceRunner.java:267)
at com.squareup.spoon.SpoonRunner$1.run(SpoonRunner.java:213)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
my config for build.gradle
spoon {
// for debug output
debug = true
// Whether or not animations are enabled. Disable animated gif generation. (false by default)
noAnimations = true
// Grant all runtime permissions during installation on Marshmallow and above devices. (false by default)
grantAll = true
// Clear app data before each test. (false by default)
clearAppDataBeforeEachTest = true
}
Can someone guide me here please ? Am i missing anything from the setup ?
Thank you!