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

Android_tutorials_image_transport Error inflating class

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{}: android.view.InflateException: Binary XML file line #6: Error inflating class

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 Is there some revision that should be done?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

ch1bo gravatar image


I think I had the same issue. Just change the to s!

Best Regards

edit flag offensive delete link more


FYI, a fix for this has just been pushed.

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

Question Tools


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

Seen: 474 times

Last updated: Jun 19 '12