【发布时间】:2016-09-18 03:48:05
【问题描述】:
我正在尝试使用 Cordova 在 Android 上本地运行 Angular2 应用程序。 不幸的是,该应用仅显示 Angular 应用的加载屏幕,但无法加载该应用。
我收到以下错误消息:
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 设置项目的解决方案吗?
标签: android cordova angular phonegap-build