Cordova.js not found when acessing www/index.html


#1

I need to deploy my app to run in the browser.

When I open the www/index.html I get this error in the console:

GET file:///C:/MyProject/Frontend/www/cordova.js net::ERR_FILE_NOT_FOUND error

How could I solve this error?


#2

If you are deploying to a browser, then you actually don’t need that library. Comment it out of the index.html file. Cordova will not run in a traditional browser, so it is not needed.


#3

What if i want to deploy it in the android device?