Ask Your Question
0

Android Dependencies problem - Teleop & camera tutorial

asked 2012-04-30 23:20:28 -0500

Jérôme Monceaux gravatar image

Hi there,

I followed this doc rosjava_core and android_core to install a fresh android_core rosjava_core on my fresh ubuntu 11.10. After gradlew instructions, I imported projects into eclipse. PubSub tutorial works properly but I still have difficulties to get android_tutorial_teleop and android_tutorial_camera tutorial to work.

Teleop app failed on the runtime due to a ClassNotFoundException : org.ros.android.views.visualization.VisualizationView

Camera app throws a ClassNotFoundException caused by org.ros.android.views.RosCameraPreviewView

These classes are declared in the android_gingerbread project, which is set in the "Android Dependencies" of Teleop and Camera projects. According to this android doc "android dependencies" are automatically exported that's why I'm confused now.

I probably missed something because pubsub tuto works correctly and required org.ros.android.views.RosTextView from android_gingerbread.

Thanks for help, Jérôme

PS : Got the same exceptions when running the apk generated by gradlew

edit retag flag offensive close merge delete

Comments

Please, note that teleop depends directly on android_honeycomb_mr2, but android_honeycomb_mr2 depends on android_gingerbread, so teleop depends on android_gingerbread too.

Jérôme Monceaux gravatar image Jérôme Monceaux  ( 2012-05-06 00:33:18 -0500 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2012-05-05 05:44:10 -0500

Kat gravatar image

If I'm right, teleop is depending on honeycomb, not on gingerbread. Thats what is said in the build.gradle of the project.

edit flag offensive delete link more
0

answered 2012-05-01 22:54:56 -0500

damonkohler gravatar image

I'm in the process of verifying and documenting the Android tutorial packages. These are known issues that will be addressed soon.

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

1 follower

Stats

Asked: 2012-04-30 23:20:28 -0500

Seen: 1,259 times

Last updated: May 05 '12