java.lang.IllegalArgumentException: already added: Landroid/support/v4/hardware/display/DisplayManagerCompat$LegacyImpl;

  1. 0

    Error:Execution failed for task ':app:dexDebug'. >Finished with non-zero exit value 1

    Stack Overflow | 3 months ago | Techie Kaushal
    java.lang.IllegalArgumentException: already added: Landroid/support/v4/hardware/display/DisplayManagerCompat$LegacyImpl;
  2. 0

    An error occours while compiling APK by FlashDevelop for Android

    Stack Overflow | 3 years ago | Mari Murotani
    java.lang.IllegalArgumentException: already added: Ljp/tjk /ane/BuildConfig; at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:12 3)
  3. 0

    Android: Getting Error: Conversion to Dalvik format failed

    Stack Overflow | 7 years ago | Rupesh C
    java.lang.IllegalArgumentException: already added: Lorg/apache/commons/logging/impl/AvalonLogger;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android unexpected top-level exeption

    YouTrack | 3 years ago
    java.lang.IllegalArgumentException: already added: Landroid/support/v4/hardware/display/DisplayManagerCompat;
  6. 0

    No resource found that matches the given name 'android:Theme.Holo.Light'.

    GitHub | 3 years ago | karthi-anubavam
    java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ActivityCompatHoneycomb;

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      already added: Landroid/support/v4/hardware/display/DisplayManagerCompat$LegacyImpl;

      at com.android.dx.dex.file.ClassDefsSection.add()
    2. Android SDK's dx Tool
      Main$1.processFileBytes
      1. com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
      2. com.android.dx.dex.file.DexFile.add(DexFile.java:161)
      3. com.android.dx.command.dexer.Main.processClass(Main.java:732)
      4. com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
      5. com.android.dx.command.dexer.Main.access$300(Main.java:83)
      6. com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
      6 frames