When project is under a folder with a "." prepended folder in its path, aapt packaging step fails

it will in particular fail to find android resource elements like the stuff in google_play_services_lib…

so in the use case, if I’m using jenkins in default configuration for building, it will put a folder called “.jenkins” in your home folder. This will cause an android project to fail to build at the packaging step.
Confirmed that if i rename it to, for example, “jenkins” with no dot, build succeeds.
I’m surprised that i haven’t found any posts about this (at least none that i could find)…
but is there an easy solution to this other than changing that folder name?

seems like a weird issue that I don’t understand very well…

I faced a same problem. So I changed folder name .jenkins to jenkins. I think symbolic link will solve this problem too.
I found the documentation about Hidden Folders at wiki.unity3d.com but couldn’t at docs.unity3d.com.
http://wiki.unity3d.com/index.php/Special_Folder_Names_in_your_Assets_Folder

However I thought such specification will work only at inside unity project folder and this result is a little bit strange. So I sent about this to Unity Feed back.
http://feedback.unity3d.com/suggestions/unity-apk-build-was-failed-when-project-full-path-includes-a-dot-started-folder-this-is-a-bug-or-less-documentation-1