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

import org.ros.rosjava.android.MessageCallable error

asked 2011-09-20 15:07:52 -0600

leon gravatar image

updated 2014-01-28 17:10:24 -0600

ngrennan gravatar image

Hi all:

I downloaded source from https://code.google.com/p/rosjava.android/. And I rosmake android_tutorial_pubsub. Then I imported this project into Eclipse. However, I got errors, which are

import org.ros.rosjava.android.MessageCallable; import org.ros.rosjava.android.views.RosTextView;

It seems that the project did not import org.ros.rosjava.android.* Does anyone could help me? Thanks!!!!!!!!!

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2011-10-08 04:17:35 -0600

damonkohler gravatar image

It sounds like there is a Android library dependency. Check that the project properties has a green check mark next to the android_gingerbread library. You probably have not imported the necessary Android library projects into Eclipse.

edit flag offensive delete link more
0

answered 2011-09-20 20:49:16 -0600

damonkohler gravatar image

Have you followed the instructions to set up Eclipse for Android development? http://developer.android.com/sdk/eclipse-adt.html

edit flag offensive delete link more
0

answered 2011-10-04 23:15:51 -0600

Yienyien gravatar image

updated 2011-10-05 00:58:15 -0600

Hi all,

I have the same problem, my adt plugin is up to date

Android Development Tools   12.0.0.v201106281929-138431 com.android.ide.eclipse.adt.feature.group

but I have some problem with message generation here

I think it is a related problem because MessageCallable.java is not compiled:

android_gingerbread/src/org/ros/android/MessageCallable.java
edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-09-20 15:07:52 -0600

Seen: 1,041 times

Last updated: Oct 08 '11