Skip to content

Instantly share code, notes, and snippets.

@suztomo
Created October 14, 2020 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suztomo/2f3c98f89af2393bb2c91f5743aae194 to your computer and use it in GitHub Desktop.
Save suztomo/2f3c98f89af2393bb2c91f5743aae194 to your computer and use it in GitHub Desktop.
Flutter Android build fails with checkDebugDuplicateClasses
FAILURE: Build failed with an exception.
* What went wrong:
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-26.0-android.jar (com.google.guava:guava:26.0-android) and listenablefuture-1.0.jar (com.google.guava:listenablefuture:1.0)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment