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

Revision history [back]

click to hide/show revision 1
initial version

Your error starts here:

04-09 10:58:24.915: E/AndroidRuntime(343): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.ros.tutorials.pubsub/org.ros.android.tutorial.pubsub.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.ros.android.views.RosTextView

If you notice, you have both "org.ros.tutorials.pubsub" and "org.ros.tutoral.pubsub". (notice the extra/lack-of "s" in tutorials). Check to see if your spelling is correct.

Also, check the manifest to see if everything is in there and spelled correctly.

Your error starts here:

04-09 10:58:24.915: E/AndroidRuntime(343): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.ros.tutorials.pubsub/org.ros.android.tutorial.pubsub.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.ros.android.views.RosTextView

If you notice, you have both "org.ros.tutorials.pubsub" and "org.ros.tutoral.pubsub". (notice the extra/lack-of "s" in tutorials). Check to see if your spelling is correct.

Also, check the manifest to see if everything is in there and spelled correctly.

But I agree, first make sure you followed the instructions first: http://docs.rosjava.googlecode.com/hg/android_core/html/index.html

--Edit--

I may be completely wring with this next part, but you have 04-09 10:58:24.684: I/dalvikvm(343): Failed resolving Lorg/ros/android/NodeRunnerService; interface 142 'Lorg/ros/node/NodeMainExecutor;'

Is it supposed to be "org" or "Lorg"?

Your error starts here:

04-09 10:58:24.915: E/AndroidRuntime(343): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.ros.tutorials.pubsub/org.ros.android.tutorial.pubsub.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.ros.android.views.RosTextView

If you notice, you have both "org.ros.tutorials.pubsub" and "org.ros.tutoral.pubsub". (notice the extra/lack-of "s" in tutorials). Check to see if your spelling is correct.

Also, check the manifest to see if everything is in there and spelled correctly.

But I agree, first make sure you followed the instructions first: http://docs.rosjava.googlecode.com/hg/android_core/html/index.html

--Edit--

I may be completely wring with this next part, but you have

04-09 10:58:24.684: I/dalvikvm(343): Failed resolving Lorg/ros/android/NodeRunnerService; interface 142 'Lorg/ros/node/NodeMainExecutor;'

'Lorg/ros/node/NodeMainExecutor;'

Is it supposed to be "org" or "Lorg"?

Your error starts here:

04-09 10:58:24.915: E/AndroidRuntime(343): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.ros.tutorials.pubsub/org.ros.android.tutorial.pubsub.MainActivity}: android.view.InflateException: Binary XML file line #7: Error inflating class org.ros.android.views.RosTextView

If you notice, you have both "org.ros.tutorials.pubsub" and "org.ros.tutoral.pubsub". (notice the extra/lack-of "s" in tutorials). Check to see if your spelling is correct.

Also, check the manifest to see if everything is in there and spelled correctly.

But I agree, first make sure you followed the instructions first: http://docs.rosjava.googlecode.com/hg/android_core/html/index.html

--Edit--

I may be completely wring wrong with this next part, but you have

04-09 10:58:24.684: I/dalvikvm(343): Failed resolving Lorg/ros/android/NodeRunnerService; interface 142 'Lorg/ros/node/NodeMainExecutor;'

Is it supposed to be "org" or "Lorg"?