Ask Your Question
0

Target "nodeps" does not exist in the project "android_gingerbread".

asked 2012-01-18 02:54:16 -0500

Srogacki gravatar image

updated 2012-02-23 22:10:15 -0500

I am trying to follow along with the tutorial at http://www.ros.org/wiki/ApplicationsPlatform/Clients/Android to allow an android app to control a robot running ROS. I am getting an error requesting "nodeps" in android_gingerbread.

Can anyone tell me what this means and/or how I can fix the error?

The error follows:

  BUILD FAILED
  /home/steve/ROS_DIR/appmanandroid/build_app.xml:116: The following error occurred while executing this line:
  /home/steve/android-sdk-linux_x86/tools/ant/build.xml:485: The following error occurred while executing this line:
  Target "nodeps" does not exist in the project "android_gingerbread". 

  Total time: 2 seconds
  Executing command: ['ant']
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package android_app_chooser written to:
[ rosmake ]    /home/steve/.ros/rosmake/rosmake_output-20120117-203007/android_app_chooser/build_output.log
[rosmake-0] Finished <<< android_app_chooser [FAIL] [ 93.17 seconds ]           
[ rosmake ] Halting due to failure in package android_app_chooser. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 63 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/steve/.ros/rosmake/rosmake_output-20120117-203007
edit retag flag offensive close merge delete

Comments

download patch from http://code.google.com/p/rosjava/issues/detail?id=76 then run [roscd rosjava_core] and [patch -p1 < ./rosjava_core.patch]
Srogacki gravatar image Srogacki  ( 2012-01-18 04:44:25 -0500 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-01-18 03:51:30 -0500

ahendrix gravatar image

See: http://code.google.com/p/rosjava/issues/detail?id=76 and apply the patch there to rosjava_core.

edit flag offensive delete link more

Comments

ok great. thank you for your help. I have downloaded it and placed it into the rosjava_core directory. How do I "apply" the patch?
Srogacki gravatar image Srogacki  ( 2012-01-18 04:13:29 -0500 )edit
0

answered 2012-02-22 18:13:34 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I also get the same error so I just downloaded the patch put it inside rosjava_core and typed patch -p1 < ./rosjava_core.patch but still after running rosmake android_app_chooser --threads=1 --rosdep-install I still get the same error. I would appreciate if you could tell me to how to apply the patch. Thanks, Vahid.

edit flag offensive delete link more

Comments

It turns out that I had to apply the patch manually. I opened it up in a text editor and compared it to the original file. There are only 4 lines of code to modify, so it was fairly straightforward.

Srogacki gravatar image Srogacki  ( 2012-03-02 05:23:09 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-01-18 02:54:16 -0500

Seen: 2,344 times

Last updated: Feb 23 '12