我正在尝试使用Cordova在Android上本机运行Angular2应用程序。 不幸的是,该应用程序只显示Angular应用程序的加载屏幕,但无法加载应用程序。AngularJS 2和科尔多瓦:“加载资源失败:net :: ERR_FILE_NOT_FOUND”
我收到以下错误消息:
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///app/styles.css
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///app/libs-bundle.js
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///app/main.js Failed to load resource: net::ERR_FILE_NOT_FOUND
好像包含在应用程序的所有本地资源无法加载。
除此之外,您是否有解决方案来建立基于AngularJs2 + Cordova的项目? – haxpor