Skip to content Skip to sidebar Skip to footer

How Config Eclipse/android Plugin To Ignore Desktop.ini Files?

The Eclipse and Android Tools plugin combination always fails to build whenever there's a desktop.ini file in one of the project directories (e.g. res/values/desktop.ini). I would

Solution 1:

Just figured this out... was having google drive issues as well. To fix it:

  1. Go to "Project->Properties->Resource Filters" (in Eclipse)
  2. Select 'Add'
  3. Set 'Filter type' to 'Exclude all', set 'Applies to' to 'Files', check the box labeled 'All children (recursive)', and make the rule so Name matches '*.ini' or 'desktop.ini'.

And that should do it.

Solution 2:

Do not put desktop.ini to resource folder. ADT will always fail if you put there anything that is not supported.

Solution 3:

In Android studio, there is no way, currently, to exclude files from the build (see https://stackoverflow.com/a/25184988/3499115). So, you just have to search for all the desktop.ini files in the Application/src/main/res and Application/build folders and delete them.

Post a Comment for "How Config Eclipse/android Plugin To Ignore Desktop.ini Files?"