I am making an android phonegap app using polymer material design. Its working fine in chrome but in phone its showing the following error
Imported resource from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Received an invalid response. Origin 'null' is therefore not allowed access.
can any one please help me how to solve it ?
You should vulcanize the application before deploying on the device. The process will create a single html document that contains all needed custom web components so you won't have to be concerned with additional requests that are blocked due to CORS policy regarding file:// resources.