-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
java.lang.NoSuchMethod: com.google.common.collect.ImmutableSortedSet.toImmutableSortedSet(Ljava/util/Comparator;)Ljava/util/stream/Collector; Label: help wanted #3538
Comments
I have resolved the issue now, I set up my framework incorrect. Thanks. |
@lzrdboy How you resolved that issue, i am also getting the same error |
Please provide the solution here. I'm facing the same error as well. |
You have a clashing version of Guava on the classpath.
…On Dec 7, 2017 11:15 PM, "Anojan" ***@***.***> wrote:
Please provide the solution here. I'm facing the same error as well.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3538 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGBaePlX6Phh5H4DA1hjRAEHcQAiSh2dks5s-OItgaJpZM4QgXvx>
.
|
I am having the same issue can you please submit the solution here. Thanks |
@rajoberoi this should be resolved by updating your version of guava, it worked at least for me (using v23) |
I fix this updating the guava version I just add the most recent version to my pom.xml fie
|
Thanks for this solution |
Hi, Please help me to get it resolved
|
Also seeing this issue, but my Guava version is set in the build.gradle file to 28. Is there anywhere else it lives that I'd need to change? |
FYI If you're a random on the internet searching for the solution! it NEEDs to be the -jre version of guava. The -android version of guava does not work. guava:28.1-jre worked for me (but guava:28.1-android does not) |
Awesome, thanks for sharing that info @katebygrace. Closing this issue. If anyone else has this problem and updating to the |
Error Solution: Use below version of chrome : Version 85.0.4183.102 (Official Build) (64-bit) |
can someone show how to fix this in gradle, ` //guava
but it didnt worked! |
@katebygrace , it didnt work !! java.lang.NoSuchMethodError: com.google.common.collect.ImmutableList.sortedCopyOf(Ljava/util/Comparator;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
|
Just Add bellow dependency to your POM.xml |
I'm relatively new with test automation in android, but I've run into some issues and I can't seem to work out what the issue is.
I've been running tests with junit / selenium server and appium. I wanted to take advantage of the toast functionality in robolectric. I added robo into my dependencies:
I haven't even added anything else into my tests yet, but if I try to run them this occurs:
If I remove the dependency, and try and run the tests they will work fine again.
I might be doing something completely wrong with the setup, but I was just wondering if anyone had any insight into what was happening and if there was a way I could resolve this?
The text was updated successfully, but these errors were encountered: