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

When i add this plugin as dependency in pubspec.yaml file then this error coming #260

Open
TheDev563 opened this issue Jun 17, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@TheDev563
Copy link

Execution failed for task ':app:checkDebugDuplicateClasses'.

1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.google.common.util.concurrent.ListenableFuture found in modules guava-20.0.jar (com.google.guava:guava:20.0) and listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0)

Go to the documentation to learn how to Fix dependency resolution errors.

@TheDev563 TheDev563 added the bug Something isn't working label Jun 17, 2020
@thruthesky
Copy link

thruthesky commented Jun 17, 2020

same here.

$ flutter doctor

[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.5 19F101, locale en-PH)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.46.0)
[✓] Connected device (1 available)

• No issues found!

  • I tried to run it on Android emulator.

@thruthesky
Copy link

thruthesky commented Jun 17, 2020

Version 6.1.1 is working on Android emulator without that error.

@shyamkawale
Copy link

shyamkawale commented Jul 10, 2020

Yes this problem was for version less than 7.00 ,try upgrading as new version -^7.0.0+6 is working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants