- Home /
Question by
uri-bsg · Jul 18, 2021 at 04:45 PM ·
androidbuild-errorsdk
Duplicate Classes When Building for Android
When I attempt to build for android, I get a whole bunch of errors (2888), most of which are of the form:
java.lang.RuntimeException: Duplicate class android.support.customtabs.ICustomTabsCallback found in modules classes.jar (:androidx.browser.browser-1.0.0:) and classes.jar (androidx.browser:browser:1.0.0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Unity version: 2019.4.16f1
Packages:
Firebase Analytics
Firebase Crashlytics
Facebook
Unity Purchasing
Newtonsoft
I was not getting these errors until I added the two firebase packages.
Comment
Your answer
Follow this Question
Related Questions
CommandInvokationFailure: Gradle build failed. 1 Answer
Facebook SDK and Audience Network SDK Android conflict 1 Answer
Java error when building 1 Answer
How to correct the errors with my android build 0 Answers
Cannot build for Android 2 Answers