Ask Your Question
0

android_core-tutorial fails with "Trying out the new apps"

asked 2013-05-15 05:20:33 -0500

mcl gravatar image

I have done the tutorial at www.ros.org/wiki/android_core until point "3.3 Running a tutorial app"

But executing point "4.2 If it's your first time using this working copy, configure it:"

(./tools/configure.py) fails with an error altough in the same dir I can sucessfully execute roscd into android_core:

everybody@RitterROSt:~/work4Android/osrf_rosandroid$ ./tools/configure.py [rosstack] Error: stack/package android_core not found Traceback (most recent call last): File "./tools/configure.py", line 13, in <module> android_core_path = subprocess.check_output(['rosstack', 'find', 'android_core']).strip() File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['rosstack', 'find', 'android_core']' returned non-zero exit status 1 everybody@RitterROSt:~/work4Android/osrf_rosandroid$ roscd android_core everybody@RitterROSt:~/work4Android/android_core$

What is going wrong here and how to fix it?

Much much thanks in advance.

Jens

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-08 04:32:38 -0500

liyang gravatar image

I was able to get passed this error, by modifying the file tools/configure.py line 13 to: android_core_path = subprocess.check_output(['rospack', 'find', 'android_core']).strip()

However, I encountered other problems: [javac] /home/liyang/work/android_groovy_ws/osrf_rosandroid/android_app_chooser/src/org/ros/android/android_app_chooser/AppChooser.java:67: package org.ros.android.robotapp does not exist

Looks like the directory robotapp is missing from source, or my CLASSPATH is not pointing to the right place.

Can someone help out on this?

Thanks in advance

edit flag offensive delete link more

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: 2013-05-15 05:20:33 -0500

Seen: 690 times

Last updated: Jun 08 '13