classnotfoundexception on pubsub tutorial
Hello everyone,
I've been trying to get rosjava to work on my Android phone but for some reason, I have not made much success.
What I have done basically was, to download and install all ros related packages, rosjava, and roscore and then going through the tutorial on ros.org to get pubsub tutorial to run. Everything goes fine and I do have both Gingerbread and honeycomb in my project and they are in my build path and and everything builds with no problem, but when I try to debug (or run) the app, it throws some "classnotfoundexception" and program halts and Android reports that program closed unexpectedly.
Honestly, before trying to run pubsub, I wrote an app of my own and tried to get that to run but I kind of faced the same problem except that the error message there was "noclassdeffounderror".
I'm posting also the output of my logcat. If anything else is needed, please let me know.
Thank you so much.
04-09 10:46:29.213: W/ActivityThread(333): Application org.ros.tutorials.pubsub is waiting for the debugger on port 8100... 04-09 10:46:29.233: I/System.out(333): Sending WAIT chunk 04-09 10:46:29.944: I/dalvikvm(333): Debugger is active 04-09 10:46:30.043: I/System.out(333): Debugger has connected 04-09 10:46:30.043: I/System.out(333): waiting for debugger to settle... 04-09 10:46:30.254: I/System.out(333): waiting for debugger to settle... 04-09 10:46:30.453: I/System.out(333): waiting for debugger to settle... 04-09 10:46:30.654: I/System.out(333): waiting for debugger to settle... 04-09 10:46:30.854: I/System.out(333): waiting for debugger to settle... 04-09 10:46:31.073: I/System.out(333): waiting for debugger to settle... 04-09 10:46:31.275: I/System.out(333): waiting for debugger to settle... 04-09 10:46:31.478: I/System.out(333): waiting for debugger to settle... 04-09 10:46:31.681: I/System.out(333): waiting for debugger to settle... 04-09 10:46:31.884: I/System.out(333): debugger has settled (1393) 04-09 10:46:32.143: W/dalvikvm(333): VFY: unable to find class referenced in signature (Lorg/ros/node/NodeMainExecutor;) 04-09 10:46:32.153: I/dalvikvm(333): Could not find method org.ros.RosCore.newPrivate, referenced from method org.ros.android.tutorial.pubsub.MainActivity.init 04-09 10:46:32.153: W/dalvikvm(333): VFY: unable to resolve static method 115: Lorg/ros/RosCore;.newPrivate ()Lorg/ros/RosCore; 04-09 10:46:32.153: D/dalvikvm(333): VFY: replacing opcode 0x71 at 0x0000 04-09 10:46:32.153: D/dalvikvm(333): VFY: dead code 0x0003-0035 in Lorg/ros/android/tutorial/pubsub/MainActivity;.init (Lorg/ros/node/NodeMainExecutor;)V 04-09 10:46:32.163: I/dalvikvm(333): Failed resolving Lorg/ros/android/views/RosTextView; interface 141 'Lorg/ros/node/NodeMain;' 04-09 10:46:32.163: W/dalvikvm(333): Link of ...
Just to clarify, have have you followed the documentation here?
http://docs.rosjava.googlecode.com/hg/android_core/html/index.html