-
Notifications
You must be signed in to change notification settings - Fork 220
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
NoSuchMethodError com.google.common.collect.Sets.toImmutableEnumSet #552
Comments
Please provide more info, ideally via a repro/sample. |
Hello. |
I have this issue too but forcing guava 31 jre didn't fix it. Paparazzi Version 1.1.0. This is the stack trace I get:
|
I was using a SNAPSHOT version and not |
I am getting the following error: java.lang.NoSuchMethodError: 'int[] android.util.StateSet.get(int)'
at android.view.View.<clinit>(View.java:2258)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:377)
at app.cash.paparazzi.Paparazzi.registerViewEditModeInterception(Paparazzi.kt:534)
at app.cash.paparazzi.Paparazzi.apply(Paparazzi.kt:128) Have no idea how to fix it. Any help? |
I would track the library and its version that has that and compare it to the one used in Paparazzi, it is probably some mismatch versions. I found it helpful to create custom Paparazzi version like below to ensure it is running on same device, a version of API that CI has downloaded
|
We're seeing this issue now when updating Guava to 32.1.2-jre |
#906 might be related and hopefully could help. |
I don't think that issue is correct, commented there |
Ah! I think there are two distinct issues in this conversation:
@ZacSweers which one did you refer to in #552 (comment)? (Based on your response I guess the second one.) |
I'm referring to the first one, hence why I commented on this one :)
|
Hello.
I am trying to test Paparazzi with Azul Zulu 18 and I found that I can make it work with the Snapshot version and not 1.0.0, however currently I am facing another issue as you can see below.
I am happy to provide more info if needed.
Thanks in advance
The text was updated successfully, but these errors were encountered: