我正在嘗試使用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