Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

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: http://answers.ros.org/question/2178/rosjavajar-missing-certain-packages

I succesfully downloaded the ros android packages from https://android.rosjava.googlecode.com/hg/

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.

ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

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: http://answers.ros.org/question/2178/rosjavajar-missing-certain-packages

I succesfully downloaded the ros android packages from https://android.rosjava.googlecode.com/hg/

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.

ANDROID_GINGERBREAD in ECLIPSE: Invalid resource directory name

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: http://answers.ros.org/question/2178/rosjavajar-missing-certain-packages

I succesfully downloaded the ros android packages from https://android.rosjava.googlecode.com/hg/

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.