Run android_apps with errors

asked 2015-01-11 05:39:53 -0600

Tanya gravatar image

updated 2015-01-11 07:39:11 -0600

gvdhoorn gravatar image

I follow this tutorial to download android_apps, I have Android SDK revision 24.0.2, Android Studio 1.0.2 on Ubuntu 12.04. I catkin_make the workspace successfully, then I source the setup.bash file, after that I start the Android studio from the Terminal with studio.sh, then I import the android_apps files to android studio and build the project successfully.

When I tried to run one of the apps (e.g. teleop, map_nav, make_map...etc) I have the following errors:

First Error:

Error:Execution failed for task ':teleop:dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run command:
    /home/dell/sdk/build-tools/19.1.0/dx --dex --no-optimize --output /home/dell/android/src/android_apps/teleop/build/intermediates/dex/debug /home/dell/android/src/android_apps/teleop/build/intermediates/classes/debug /home/dell/.gradle/caches/modules-2/files-2.1/org.ros.rosjava_messages/rosgraph_msgs/1.9.50/5bda692b5f32449d109eb8ac74cc77a23ff78dc7/rosgraph_msgs-1.9.50.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/actionlib_msgs/1.10.6/actionlib_msgs-1.10.6.jar /home/dell/android/src/android_apps/teleop/build/intermediates/exploded-aar/com.github.rosjava.android_extras/gingerbread/0.1.4/classes.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/diagnostic_msgs/1.10.6/diagnostic_msgs-1.10.6.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/rosjava_test_msgs/0.1.27/rosjava_test_msgs-0.1.27.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/tf2_msgs/0.4.12/tf2_msgs-0.4.12.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/nav_msgs/1.10.6/nav_msgs-1.10.6.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/geometry_msgs/1.10.6/geometry_msgs-1.10.6.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/std_msgs/0.5.8/std_msgs-0.5.8.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_core/rosjava_geometry/0.1.6/rosjava_geometry-0.1.6.jar /home/dell/.gradle/caches/modules-2/files-2.1/org.ros.rosjava_messages/gateway_msgs/0.6.5/c6d16dc005d08f0bc90f058fded32b5342df6be2/gateway_msgs-0.6.5.jar /home/dell/.gradle/caches/modules-2/files-2.1/org.ros.rosjava_messages/rocon_app_manager_msgs/0.6.5/c85330ffce2bef71ef78ee31d30a9de3f79ccc75/rocon_app_manager_msgs-0.6.5.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_messages/sensor_msgs/1.10.6/sensor_msgs-1.10.6.jar /home/dell/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar /home/dell/.gradle/caches/modules-2/files-2.1/org.apache.ws.commons/ws-commons-util/1.0.1/126e80ff798fece634bc94e61f8be8a8da00be60/ws-commons-util-1.0.1.jar /home/dell/android/src/android_apps/teleop/build/intermediates/exploded-aar/org.ros.android_core/android_gingerbread_mr1/0.1.3/classes.jar /home/dell/.gradle/caches/modules-2/files-2.1/org.apache.commons/com.springsource.org.apache.commons.codec/1.3.0/f8690570eb0913d750262bb4223eed30b0d619ed/com.springsource.org.apache.commons.codec-1.3.0.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_core/apache_xmlrpc_server/0.1.6/apache_xmlrpc_server-0.1.6.jar /home/dell/rosjava/devel/share/maven/org/ros/rosjava_core/apache_xmlrpc_client/0.1.6/apache_xmlrpc_client-0.1.6.jar /home/dell/.gradle/caches/modules-2/files-2.1/org.apache.commons/com.springsource.org.apache.commons.logging/1 ...
(more)
edit retag flag offensive close merge delete