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

Stack Overflow | Techie Kaushal | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    Stack Overflow | 6 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 | 4 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

    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