yekigoc / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Android projects are missing the dnsjava-2.1.1.jar entry in their classpath #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Modify the pubsub tutorial so that the RosTextView subscribes to "/chatter" 
on a ROS master NOT on the phone, but on another machine.
2. Start roscore on that other machine.
3. Start the Android application.
4. Start talker on that other machine.

What is the expected output? What do you see instead?
Expected is that the /chatter topic should be visible on the phone.

What happens is a NoClassDefFoundError is thrown because of the missing DNS 
library.

The solution is to add the following entry to the .classpath of all Android 
projects.
<classpathentry kind="lib" path="/rosjava/lib/dnsjava-2.1.1.jar"/>

Original issue reported on code.google.com by ersso...@gmail.com on 16 Jun 2011 at 5:40

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 91501326f9d8.

Original comment by damonkoh...@google.com on 18 Jun 2011 at 4:04