rostango multiple dex files
Following the rostango wiki, continuing to run into problems, seems like a different error pops up with each reboot. Right now the initial and the rostango files successfully build with catkin_make and the rostango project opens ok in android-studio 0.6.1. However, when I try to run one of the samples, e.g. vio, I get this error:
com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/codec/Decoder;
Searching suggests that this indicates redundant jar files. But which ones?
Here is the terminal output:
....... :tango_vio:processDebugResources UP-TO-DATE :tango_vio:generateDebugSources UP-TO-DATE :tango_vio:compileDebugJava :tango_vio:preDexDebug :tango_vio:dexDebug UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/codec/Decoder; at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:594) at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:552) at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:533) at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:170) at com.android.dx.merge.DexMerger.merge(DexMerger.java:188) at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:439) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:287) at com.android.dx.command.dexer.Main.run(Main.java:230) at com.android.dx.command.dexer.Main.main(Main.java:199) at com.android.dx.command.Main.main(Main.java:103)
FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':tango_vio:dexDebug'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /home/dbarry/Android/Sdk/build-tools/19.1.0/dx --dex --num-threads=4 --output