java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement;

Appcelerator JIRA | Michael G | 4 years 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

    I'm trying to add Push to my app (iOS/Android) but I'm getting the following error message when I compile the android version: {code} [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: [ERROR] java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement; [ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:490) [ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459) [ERROR] at com.android.dx.command.dexer.Main.access$400(Main.java:67) [ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [ERROR] System Error while compiling Android classes.dex [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:422) [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333) [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:209) [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:174) [ERROR] at com.android.dx.command.Main.main(Main.java:91) [ERROR] 1 error; aborting {code} Modules added: {code} <modules> <module platform="android">ti.cloudpush</module> <module platform="android">com.acktie.mobile.android.qr</module> <module platform="commonjs">ti.cloud</module> <module platform="iphone">com.acktie.mobile.ios.qr</module> <module platform="android">facebook</module> <module platform="android">ti.map</module> <module platform="iphone">facebook</module> </modules> {code} other users confirm that ti.cloudpush and ti.map inside the same project will cause this error for them too. Thread: http://developer.appcelerator.com/question/155815/already-added-lcomgoogleandroidgmsgamesachievementachievement

    Appcelerator JIRA | 4 years ago | Michael G
    java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement;
  2. 0

    I'm trying to add Push to my app (iOS/Android) but I'm getting the following error message when I compile the android version: {code} [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: [ERROR] java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement; [ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) [ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:163) [ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:490) [ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459) [ERROR] at com.android.dx.command.dexer.Main.access$400(Main.java:67) [ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) [ERROR] System Error while compiling Android classes.dex [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) [ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:422) [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333) [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:209) [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:174) [ERROR] at com.android.dx.command.Main.main(Main.java:91) [ERROR] 1 error; aborting {code} Modules added: {code} <modules> <module platform="android">ti.cloudpush</module> <module platform="android">com.acktie.mobile.android.qr</module> <module platform="commonjs">ti.cloud</module> <module platform="iphone">com.acktie.mobile.ios.qr</module> <module platform="android">facebook</module> <module platform="android">ti.map</module> <module platform="iphone">facebook</module> </modules> {code} other users confirm that ti.cloudpush and ti.map inside the same project will cause this error for them too. Thread: http://developer.appcelerator.com/question/155815/already-added-lcomgoogleandroidgmsgamesachievementachievement

    Appcelerator JIRA | 4 years ago | Michael G
    java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/games/achievement/Achievement;
  3. 0

    Gradle: Execution failed for task ':MyApp:dexDebug'. > Could not call IncrementalTask.taskAction() on task ':MyApp:dexDebug'

    Stack Overflow | 3 years ago | alicanbatur
    java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoStubImpl;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Released] Android Native Plugin | Unity Community

    unity3d.com | 9 months ago
    java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService$Stub$Proxy;
  6. 0

    Introducing Unibill - the cross platform In App purchase plugin! | Page 5 | Unity Community

    unity3d.com | 2 years ago
    java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService$Stub$Proxy;

    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: Lcom/google/android/gms/games/achievement/Achievement;

      at com.android.dx.dex.file.ClassDefsSection.add()
    2. Android SDK's dx Tool
      ClassPathOpener.processArchive
      1. com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
      2. com.android.dx.dex.file.DexFile.add(DexFile.java:163)
      3. com.android.dx.command.dexer.Main.processClass(Main.java:490)
      4. com.android.dx.command.dexer.Main.processFileBytes(Main.java:459)
      5. com.android.dx.command.dexer.Main.access$400(Main.java:67)
      6. com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398)
      7. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
      7 frames