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

Android_tutorials_image_transport Error inflating class org.ros.android.views.RosImageView

asked 2012-06-18 14:37:42 -0600

ruifei0713 gravatar image

updated 2014-01-28 17:12:42 -0600

ngrennan gravatar image

I'm trying to run the image_transport tutorial under android_core on a Galaxy Nexus which is connected to my Ubuntu.

When I run it, I'm getting the following error from Logcat:

FATAL EXCEPTION: main E/AndroidRuntime( 5149): java.lang.RuntimeException: Unable to start activity ComponentInfo{org.ros.android.android_tutorial_image_transport/org.ros.android.android_tutorial_image_transport.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class org.ros.android.views.RosImageView

I deleted the line from main.xml that read android:src="@drawable/icon" and the same error still occured.

I have not modified the source code in MainActivity.java. Is there some revision that should be done?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-19 10:49:35 -0600

ch1bo gravatar image

Hello,

I think I had the same issue. Just change the org.ros.android.views...lines to org.ros.android.view...without s!

Best Regards

edit flag offensive delete link more

Comments

FYI, a fix for this has just been pushed.

damonkohler gravatar image damonkohler  ( 2012-07-02 23:15:03 -0600 )edit

Question Tools

Stats

Asked: 2012-06-18 14:37:42 -0600

Seen: 500 times

Last updated: Jun 19 '12