Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such method: LogCatMessage.getTag #588

Open
anmol-tray opened this issue Jul 5, 2023 · 0 comments
Open

No such method: LogCatMessage.getTag #588

anmol-tray opened this issue Jul 5, 2023 · 0 comments

Comments

@anmol-tray
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant