Search Unity

Android Studio Build Error: Already Added

Discussion in 'Android' started by AlphaGTR, Jul 25, 2017.

  1. AlphaGTR

    AlphaGTR

    Joined:
    Oct 26, 2013
    Posts:
    38
    I get the following errors

    Error:Uncaught translation error: java.lang.IllegalArgumentException: already added: Lio/fabric/unity/crashlytics/android/BuildConfig;
    Error:Uncaught translation error: java.lang.IllegalArgumentException: already added: Lio/fabric/unity/android/BuildConfig;

    I checked to see if there are duplicate libs but I don't see them in the android project. Anyone have an idea? I also added

    dexOptions {
    preDexLibraries = false
    }

    to my build.gradle
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Did you find a solution for this issue ?