How to workaround autoomitting fiiles/folders starting with "_" (underscore) in assets folder

First go star this issue so Google will fix the bug eventually. If you are running on Mac or Linux there is a patched aapt that fixes the bug here. Other than that your only choice is to do a build of Dojo so that it is only in one file.


aaptOptions{
    ignoreAssetsPattern  '!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~'
}

add the above lines in the application build.gradle file inside android block for android app


From the previous answer I ended making changes on ant.properties which is located at root of project with this:

aapt.ignore.assets=!.svn:!.git:.*:!CVS:!thumbs.db:!picasa.ini:!*.scc:*~

Here, I overwrote aapt.ignore.assets property defined on sdk-android directory. It works