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

Derek Lee's profile - activity

2012-10-07 10:46:51 -0500 received badge  Notable Question (source)
2012-10-07 10:46:51 -0500 received badge  Famous Question (source)
2012-04-23 09:25:12 -0500 received badge  Popular Question (source)
2012-01-26 14:56:21 -0500 received badge  Supporter (source)
2012-01-24 03:32:40 -0500 commented answer ROS Android Build Not Working
I fix the first problem but having a new one right now, can you please help? Thanks.
2012-01-23 07:24:57 -0500 received badge  Editor (source)
2012-01-22 06:41:40 -0500 asked a question ROS Android Build Not Working

I followed this: http://www.ros.org/wiki/ApplicationsPlatform/Clients/Android But get the following error when doing rosmake android_app_chooser --threads=1

rosrun rosjava_bootstrap make.py android_gingerbread Buildfile: /home/turtlebot/ROS_DIR/rosjava_android/android_gingerbread/dependencies.xml

get-dependencies:

BUILD SUCCESSFUL Total time: 11 seconds Traceback (most recent call last): File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 108, in main(sys.argv) File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 100, in main build(rospack, package) File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/make.py", line 65, in build properties = android.generate_properties(rospack, package) File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/android.py", line 93, in generate_properties 'sdk.dir': get_android_sdk_dir(), File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/android.py", line 78, in get_android_sdk_dir location = which.which('android') File "/home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/src/main/python/rosjava_bootstrap/which.py", > line 248, in which raise WhichError("Could not find '%s' on the path." % command) which.WhichError: Could not find 'android' on the path. make: * [all] Error 1

UPDATE:

I fixed the bash_profile and now I'm getting a new error, any help is appreciate!

BUILD FAILED /home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/android.xml:539: The following error occurred while executing this line: /home/turtlebot/ROS_DIR/rosjava_core/rosjava_bootstrap/android.xml:568: Execute failed: java.io.IOException: Cannot run program "/home/turtlebot/Desktop/android-sdk-linux_x86/platform-tools/aapt": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) at java.lang.Runtime.exec(Runtime.java:610) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:827) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:635) at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:676) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502) at com.android.ant.AaptExecTask.callAapt(AaptExecTask.java:603) at com.android.ant.AaptExecTask.execute(AaptExecTask.java:351) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at com.android.ant.IfElseTask.execute(IfElseTask.java:120) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement ...

(more)