I having kind of absurd situation and I will glad to hear how exactly you guys handling it:
I have a Hybrid App project, Visual Studio 2015 Cordova Tools. Inside it, under "res" folder I have app resources. The whole project, including resources, is under source control (TFS).
During build, resource files get copied into "..\platforms\android\res" folder.
First time, while the folder empty it succeeded - the files get copied as-is (e.g. read-only, since they are under source control). After that, during next build, it trying to overwrite these read-only files and failed, as expected - displaying that informative error: "EPERM, operation not permitted 'resource full path'.
I don't get it. Resources must be under source control, so I guess 99.99% of developers would get the same problem as I do.
What do I miss?
Thanks