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

Revision history [back]

click to hide/show revision 1
initial version

Hello all,

I'm stuck in the same step, with the difference that the "android" command is working for me, meaning that I have it well configured.

At first, when I typed "ant dist" I obtained an error saying that it was unable to find the correct sdk.dir variable path. Then I decided to hard-code the path
of my sdk android installation. Now, when type the "ant dist" command what I get is:

BUILD FAILED
/myfolder/rosjava/rosjava/build.xml:5: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/build-common.xml:16: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/dependencies.xml:20: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/android/build.xml:6: The following error occurred while executing this line:
/myfolder/rosjava/rosjava/android/library/build.xml:38: The following error occurred while executing this line:
/myfolder/android-sdk-linux_x86/tools/ant/pre_setup.xml:13: taskdef class com.android.ant.SetupTask cannot be found
 using the classloader AntClassLoader[]

What could be the problem?

Thanks!