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 ?
After running the tests on two devices, the gradle command fails with the following,
my config for build.gradle
Can someone guide me here please ? Am i missing anything from the setup ?
Thank you!