FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class android.support.customtabs.ICustomTabsCallback found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.ICustomTabsCallback$Stu b found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.ICustomTabsCallback$Stu b$Proxy found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.ICustomTabsService found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.ICustomTabsService$Stub found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.ICustomTabsService$Stub $Proxy found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.IPostMessageService found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.IPostMessageService$Stu b found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.customtabs.IPostMessageService$Stu b$Proxy found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class android.support.v4.app.INotificationSideChannel found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.app.INotificationSideChannel$St ub found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.app.INotificationSideChannel$St ub$Proxy found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.IResultReceiver found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.ResultReceiver$MyResultRecei ver found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.0.0-runtime.jar (androidx.core:core:1.0.0) and support-compat-27.1.1-runtime.jar (com.android.support:support-compat:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionItem found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuAdapter found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuAdapter$ViewHolderItem found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuDialog found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuDialog$1 found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuUi found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuUi$1 found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuUi$2 found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuUi$BrowserActionsFallMenuUiListener found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsFall backMenuView found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsInte nt found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsInte nt$BrowserActionsFallDialogListener found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsInte nt$BrowserActionsItemId found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsInte nt$BrowserActionsUrlType found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Duplicate class androidx.browser.browseractions.BrowserActionsInte nt$Builder found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and customtabs-27.1.1-runtime.jar (com.android.support:customtabs:27.1.1)
Go to the documentation to learn how to <a href="d.android.com/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at
https://help.gradle.org
BUİLD FAILED in 4s