java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Android I can't build in 4.1.0
    via GitHub by ldpalazon
    ,
  • h6.Steps to reproduce 1) Create a sample app 2) Attach both modules 3) Run through CLI: $ appc run -p android -T device 4) Monitor console output h6.Stack Trace {code} [ERROR] Failed to run dexer: [ERROR] [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: [ERROR] java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/LocationSource; [ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122) [ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:161) [ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:732) [ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673) [ERROR] at com.android.dx.command.dexer.Main.access$300(Main.java:83) [ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144) [ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:632) [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510) [ERROR] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280) [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:246) [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:215) [ERROR] at com.android.dx.command.Main.main(Main.java:106) [ERROR] 1 error; aborting {code} h6.Work around Downgrading ti.map to 2.3.1 instead of 2.3.4 {code} <modules> <module platform="android" version="2.3.1">ti.map</module> <module platform="android" version="1.1.2">ti.geofence</module> </modules> {code}
    via by Eduardo Gomez,
  • h6.Steps to reproduce 1) Create a sample app 2) Attach both modules 3) Run through CLI: $ appc run -p android -T device 4) Monitor console output h6.Stack Trace {code} [ERROR] Failed to run dexer: [ERROR] [ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: [ERROR] java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/LocationSource; [ERROR] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122) [ERROR] at com.android.dx.dex.file.DexFile.add(DexFile.java:161) [ERROR] at com.android.dx.command.dexer.Main.processClass(Main.java:732) [ERROR] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673) [ERROR] at com.android.dx.command.dexer.Main.access$300(Main.java:83) [ERROR] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166) [ERROR] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144) [ERROR] at com.android.dx.command.dexer.Main.processOne(Main.java:632) [ERROR] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510) [ERROR] at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280) [ERROR] at com.android.dx.command.dexer.Main.run(Main.java:246) [ERROR] at com.android.dx.command.dexer.Main.main(Main.java:215) [ERROR] at com.android.dx.command.Main.main(Main.java:106) [ERROR] 1 error; aborting {code} h6.Work around Downgrading ti.map to 2.3.1 instead of 2.3.4 {code} <modules> <module platform="android" version="2.3.1">ti.map</module> <module platform="android" version="1.1.2">ti.geofence</module> </modules> {code}
    via by Eduardo Gomez,
  • titanium android publish error
    via by Unknown author,
  • Android Studio dexDebug problems
    via by Unknown author,
    • java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/maps/LocationSource; at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122) at com.android.dx.dex.file.DexFile.add(DexFile.java:161) at com.android.dx.command.dexer.Main.processClass(Main.java:732) at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673) at com.android.dx.command.dexer.Main.access$300(Main.java:83) at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602) at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284) at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166) at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144) at com.android.dx.command.dexer.Main.processOne(Main.java:632) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280) at com.android.dx.command.dexer.Main.run(Main.java:246) at com.android.dx.command.dexer.Main.main(Main.java:215) at com.android.dx.command.Main.main(Main.java:106)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,