ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Build android_tutorial_camera

asked 2012-09-28 04:26:04 -0500

Marcel gravatar image

updated 2012-09-30 22:33:36 -0500

I tried to connect my android phone with ROS according to the following tutorial:

Run a ROS Android example project

More precisely I tried to put the android_tutorial_camera to my phone, but I get at the tutorial allways the error message that Execution failed for task ':android_acm_serial:updateProject'. A problem occurred starting command 'android'.

If I follow the tutorial I get lots of error in the android_gingerbread_mr1 witch is necassary for the android_tutorial_camera. Basically the errors happens because the import of ... can't be resolved by the compiler.

What can I do to fix this problem and the resolve this library?

I think it's the same problem from the following link: But although I followed the instruction there I wasn't able to compile the tutorials.

Thanks for helping

edit retag flag offensive close merge delete


Make sure you have a look at the support site. Please always copy-paste the exact error message.

Lorenz gravatar image Lorenz  ( 2012-09-28 05:50:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-01 02:17:54 -0500

Marcel gravatar image

updated 2013-03-17 20:36:14 -0500

130s gravatar image

I found the answer on the webpage

Adding the following lines to the ~/.bashrc file hepled:

export PATH=$PATH:/opt/android-sdk-linux_x86/tools
export CLASSPATH=$CLASSPATH:/opt/android-sdk-linux_x86/tools  # Depends on where you install Android Developer Tools
sudo killall java
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-09-28 04:26:04 -0500

Seen: 1,102 times

Last updated: Mar 17 '13