I’m unable to reference external files (CSS/JavaScript) when they are located at a parent folder of the HTML file using PhoneGap Build.
The following example works fine:
<link rel="stylesheet" href="teste.css" />
But if the move the file to a parent level it doens’t load it.
<link rel="stylesheet" href="../teste.css" />
or
<link rel="stylesheet" href="./../teste.css" />
I’ve debbuged the application using weinre and noticed that PhoneGap considered root as the folder where index.html was located
That being said, I’ve refactored the structure of my web application in order to index.html be located on the parent folder.