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

RosJava issue 70 fix problem

asked 2011-11-10 04:34:05 -0500

mouser58907 gravatar image

updated 2011-11-10 15:34:09 -0500

kwc gravatar image

In the fix located here:

The new Android.xml file doesn't have a name or as attribute, which causes me to generate this error when rosmake'ing android_gingerbread:

  /home/craig/ros_workspace/ The following error occurred while executing this line:
  can't include build file file:/home/craig/ros_workspace/rosjava_core/rosjava_bootstrap/android.xml, no as attribute has been given and the project tag doesn't specify a name attribute

So trying to solve my own problem even though I have relatively no knowledge in this area I plugged in the name="android" and tried making it again. This caused me to receive:

  /home/craig/ros_workspace/ The following error occurred while executing this line:
  /home/craig/ros_workspace/rosjava_core/rosjava_bootstrap/android.xml:64: taskdef class cannot be found
   using the classloader AntClassLoader[]

Sorry to be asking so many questions, I really am trying to get this working on my own. I'm just very inexperienced at this stuff and am having trouble figuring it all out.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-10 22:34:58 -0500

damonkohler gravatar image

Look at the android_tutorial_pubsub/build.xml for an example of how your build.xml should look. Also, make sure you've installed the last Android SDK and ADT.

edit flag offensive delete link more


Updating and re-downloading files seems to have fixed this issue. I'm getting very close, thanks for your help, Damon.
mouser58907 gravatar image mouser58907  ( 2011-11-14 13:50:00 -0500 )edit

Question Tools


Asked: 2011-11-10 04:34:05 -0500

Seen: 479 times

Last updated: Nov 10 '11