My project is building fine on Unity 2018.4 - 2019.2 when i switch to Unity 2019.3.0b7 - 2019.3.0b10 - 2020.1
I am getting error:
Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:1
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:3-121 to override.
if i add tools:replace="android:appComponentFactory it start to show:
java.lang.RuntimeException: Duplicate class android.support.customtabs.ICustomTabsCallback found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.ICustomTabsCallback$Stub found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.ICustomTabsCallback$Stub$Proxy found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.ICustomTabsService found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.ICustomTabsService$Stub found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.ICustomTabsService$Stub$Proxy found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.IPostMessageService found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.IPostMessageService$Stub found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.customtabs.IPostMessageService$Stub$Proxy found in modules classes.jar (androidx.browser:browser:1.0.0) and classes.jar (com.android.support:customtabs:27.0.2)
Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.IResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.ResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class androidx.core.graphics.drawable.IconCompatParcelizer found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class androidx.core.internal.package-info found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:28.0.0)
Duplicate class androidx.versionedparcelable.CustomVersionedParcelable found in modules classes.jar (androidx.versionedparcelable:versionedparcelable:1.0.0) and classes.jar (com.android.support:versionedparcelable:28.0.0)
Duplicate class androidx.versionedparcelable.NonParcelField found in modules classes.jar (androidx.versionedparcelable:versionedparcelable:1.0.0) and classes.jar (com.android.support:versionedparcelable:28.0.0)
Duplicate class androidx.versionedparcelable.ParcelField found in modules classes.jar (androidx.versionedparcelable:versionedparcelable:1.0.0) and classes.jar (com.android.support:versionedparcelable:28.0.0)
...
everything is related with classes.jar with is Unity jar
I have view SDK like Facebook, Firebase, Mopub Mediation with start to requer to use AndroidX. Is there a way to resolve it ? Or it is a Unity Bug?



