Ask Your Question

ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

asked 2011-11-02 08:29:53 -0500

Imré gravatar image

updated 2014-01-28 17:10:41 -0500

ngrennan gravatar image

I need to upload ros android tutorials on an android device. I am doing this uploading through eclipse as it is the programming environment my android device is synchronized with. In order to do this, I followed the instructions on this page:

I succesfully downloaded the ros android packages from

I have successfully applied rosmake to android_tutorial-camera, android_tutorial_image_transport, android_tutorial_pan_tilt_camera, android_tutorial_pubsub.

I have also successfully applied rosmake to android_gingerbread, as these tutorials require this package.

After having applied rosmake, I imported these tutorials and android_gingerbread as new projects inside eclipse.

However, I get an exception with the android_gingerbread project:

invalid resource directory name: /home/imre/workspace/android_gingerbread/res/index.html (AAPT problem)

Here is a definition of AAPT: "The Android Asset Packaging Tool (aapt) takes your application resource files, such as the AndroidManifest.xml file and the XML files for your Activities, and compiles them."

The problem seems to come from the content of the index.html file, which lists the following resources: drawable-hdpi, drawable-ldpi, drawable-mdpi, layout, values.

How is it possible to fix this issue with the index.html file of the resources of the android_gingerbread ros package?

I thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2011-11-09 05:21:31 -0500

Imré gravatar image

I solved the problem. I deleted the index.html file. This corrected the error.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-02 08:29:53 -0500

Seen: 1,807 times

Last updated: Nov 09 '11