for me the problem was that I had a folder as parent of the project folder and it was called "Cross Platform" and it called it "Cross" and then said that the folder doesn't exists which was true, I changed the folder name to "CrossPlatform" without space and the build ran well