ERROR : Multiple dex files define Lorg/ros/android/MessageCallable

asked 2016-06-15 12:50:58 -0500

I am following the getting started with Tango and ROS tutorial ( https://github.com/ologic/Tango/wiki/... )

I am getting stuck on the catkin_make command that we run from the 'rjandroid' directory -

I am getting the following error

/home/aneesh1993/rjandroid/src/android_extras/android_tutorial_hokuyo/build/intermediates/pre-dexed/release/rosjava_geometry-0.2.1-66bfa88372b74567430dab7544bb5df7b44b82e5.jar Error Code: 2 Output:

UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Lorg/ros/android/MessageCallable;
    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)
  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 53.436 secs make[2]: * [android_extras/CMakeFiles/gradle-android_extras] Error 1 make[1]: [android_extras/CMakeFiles/gradle-android_extras.dir/all] Error 2 make: ** [all] Error 2 Invoking "make" failed


I cannot find the solution to this error in any forum... Please help me!

edit retag flag offensive close merge delete

Comments

This appears to be a duplicate of Multiple dex files define Lorg/ros/android/MessageCallable error. Please close this one, or the other question.

gvdhoorn gravatar imagegvdhoorn ( 2016-06-15 13:39:16 -0500 )edit