Search Unity

Feedback Upgrade project from 2018 to 2019 cannot build android

Discussion in 'Android' started by Thaina, Feb 12, 2020.

  1. Thaina

    Thaina

    Joined:
    Jul 13, 2012
    Posts:
    1,163
    It force change gradle from `apply plugin: 'com.android.application'` to apply plugin: 'com.android.library' then it make several dependencies conflict

    such as

    Code (CSharp):
    1.   java.lang.RuntimeException: 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)
    My project use facebook, onesignal, volexbusters, GoogleMobileAds and Firebase. I don't know which one cause a problem but it could be built normally in unity 2018 so I suspect that it must be because changed of the apply plugin I mention above