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

Installing rosjava android_core is missing compressed_visualization_transport_msgs [closed]

asked 2012-04-21 12:37:03 -0600

andreasw gravatar image

updated 2012-05-24 00:35:01 -0600

I'm trying to install android_core as described here, but

1) '/home/andreas/workspace/android_core/android_core$ ./gradlew debug'

What went wrong: Execution failed for task ':android_acm_serial:updateProject'. A problem occurred starting command 'android'.

2) 'android_core/android_acm_serial$ gradle debug' fails at building android_honeycomb_mr2

[javac] /home/andreas/workspace/android_core/android_honeycomb_mr2/ src/org/ros/android/view/visualization/layer/

package compressed_visualization_transport_msgs does not exist

3) Building /home/andreas/workspace/google (as proposed here) runs successfully, while rosmake'ing it fails on several dependencies (I though rosmake --rosdep-install should take care of this; could it be my rosmake is broken? how do I test rosmake anyway?)

After installing lse_xsens_mti, cereal port, hector_mapping and hector_imu_attitude_to_tf manually (i.e. checkout each package and run rosmake for it) '/home/andreas/workspace/google$ rosmake' ran without failures.

Unfortunately, 'android_core/android_acm_serial$ gradle debug' still claims that 'package compressed_visualization_transport_msgs does not exist' as above.

Looking at 'rospack --list-names', there are

  • (the manually installed) lse_xsens_mti, cereal_port, hector_mapping, hector_imu_attitude_to_tf
  • rosjava, rosjava_tutorial_services, rosjava_messages, rosjava_bootstrap, rosjava_geometry, rosjava_actionlib, rosjava_actionlib_tutorial, rosjava_tutorial_pubsub,
  • polling_input_stream
  • compressed_visualization_transport_msgs
  • compressed_visualization_transport
  • google_handheld_slam
  • hokuyo
  • android_tutorial_image_transport, android_tutorial_camera, android_acm_serial, android_tutorial_hokuyo, android_tutorial_teleop, android_tutorial_pubsub, android_gingerbread, android_honeycomb_mr2
  • compressed_image_transport
  • ...

So what did I miss to build android_core?

Thanks in advance!

Best regards, Andreas

@Gemini: It was something about my android setup but unrelated to ROS. Sorry I can't remember how I've solved it.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by damonkohler
close date 2012-05-21 05:47:45

3 Answers

Sort by ยป oldest newest most voted

answered 2012-04-23 02:09:52 -0600

damonkohler gravatar image

You only need to ensure that compressed_visualization_transport_msgs is in your ROS_PACKAGE_PATH and then re-install rosjava_messages.

roscd rosjava_messages
../gradlew install

That will generate the required message dependencies and make them available to your rosjava packages.


edit flag offensive delete link more

answered 2012-04-23 21:08:27 -0600

andreasw gravatar image

Thank you very much, Damon!

edit flag offensive delete link more

answered 2012-05-21 02:32:49 -0600

Gemini Ma gravatar image

how to solve the 1) error???

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2012-04-21 12:37:03 -0600

Seen: 1,885 times

Last updated: May 24 '12